Skip to content
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

RPA.Browser library is lacking support for multiple browser instances #33

Closed
mikahanninen opened this issue Aug 2, 2020 · 2 comments
Closed
Assignees
Labels
bug Bad or unexpected behaviour feature New functionality to add

Comments

@mikahanninen
Copy link
Member

There is need to provide alias parameter to Open Available Browser keyword.

User comments about the problem https://robocorp-developers.slack.com/archives/CH1GSKJ3U/p1596380462275000 onwards

workaround for the problem was to create custom keyword

*** Keywords ***
My RPA Browser
    [Arguments]   ${alias} 
    ${chrome_options}=  Evaluate  sys.modules['selenium.webdriver'].ChromeOptions()  sys, selenium.webdriver
    Call Method    ${chrome_options}    add_argument    --disable-extensions
    Call Method    ${chrome_options}    add_argument    --headless
    Call Method    ${chrome_options}    add_argument    --disable-gpu
    Call Method    ${chrome_options}    add_argument    --no-sandbox
    Create Webdriver    Chrome    chrome_options=${chrome_options}  alias=${alias}
@mikahanninen mikahanninen added bug Bad or unexpected behaviour feature New functionality to add labels Aug 2, 2020
@seifip
Copy link

seifip commented Aug 3, 2020

Using the My RPA Browser keyword caused errors in the cloud that do not happen when running in a local worker, or using Open Available Browser.

Using OAB does not cause the same errors, but also does not work with Switch Browser.

@osrjv osrjv self-assigned this Aug 3, 2020
@osrjv
Copy link
Contributor

osrjv commented Aug 4, 2020

Support for aliases and regression with Switch Browser fixed in release 2.4.0.

@osrjv osrjv closed this as completed Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bad or unexpected behaviour feature New functionality to add
Projects
None yet
Development

No branches or pull requests

3 participants