-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use RSelenium with already open browser #262
Comments
I believe you can in theory. Could you paste the python instructions that you found @jscottp99? Digging into the code... and a couple of links....
All extraCapabilities does is pass a profile for chrome or options for other browsers to the Selenium API and to the browser's web driver (like chrome.exe). Currently, I believe R selenium uses Selenium version 2 or 3. So anything in the extraCapabilities should be in there. However, the problem is that R is not on the current version of Selenium so many things you would need to set in both the profile and options. You will need a profile as the StackOverflow posts suggest. In terms of the options, I believe that this might work...
If I could see the python tutorial @jscottp99 then I could try to translate it better. |
Here is a link to one of the tutorials. This is the example code posted for python: PYTHON Examplefrom selenium import webdriver chrome_options = Options() |
Ok so then its one of two things:
Or it is probably...
However, I think you might have to test it out. Let me know how it goes |
Is it possible to attach an RSelenium session to an already open browser? I have found instructions on how to do this in python by opening a Chrome debugger browser session and referencing that session in the extraCapabilities. I'm curious if this is possible in RSelenium.
The text was updated successfully, but these errors were encountered: