getFrameForSelector

abstract fun getFrameForSelector(selector: String): WebFrame(source)

The frame element in webFrame's document selected by selector, null would be returned if selector does not select a frame or if the frame is not in the current renderer process.