View source: R/selenium_switch.R
selenium_switch | R Documentation |
This function is from [RSelenium GitHub Issue #143](https://github.com/ropensci/RSelenium/issues/143): John Harrison's answer. This helps switch between window handles when using RSelenium. Call such as 'remDr$getWindowHandles()[[1]]' and so on.
selenium_switch(remDr, windowID)
remDr |
'remoteDriver' object created from RSelenium 'rsDriver'. |
windowID |
ID of the window handle to switch to. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.