Skip to content

Same alias should not open new browser#1374

Merged
aaltat merged 5 commits intorobotframework:masterfrom
aaltat:same_alias
Apr 22, 2019
Merged

Same alias should not open new browser#1374
aaltat merged 5 commits intorobotframework:masterfrom
aaltat:same_alias

Conversation

@aaltat
Copy link
Copy Markdown
Contributor

@aaltat aaltat commented Apr 21, 2019

Fixes #1319

Comment thread utest/test/keywords/test_webdrivercache.py Outdated
Comment thread atest/acceptance/multiple_browsers_with_alias.robot Outdated
@aaltat
Copy link
Copy Markdown
Contributor Author

aaltat commented Apr 21, 2019

TODO: Fix Open Browser keyword documentation. Also fix two my comments.

@aaltat
Copy link
Copy Markdown
Contributor Author

aaltat commented Apr 22, 2019

And it looks like I broke something with the Python 2 compatibility. Need to look it more closely.

@aaltat
Copy link
Copy Markdown
Contributor Author

aaltat commented Apr 22, 2019

It was not Python 2 but it was RF 3.0.4. When using string None as alias, it returned index which was already closed. But it was a good thing, because it lead me think few other cases and it did reveal few bugs in the code. Now I hope that it is fixed and working.

FYI @rasjani I think your PR did ran in to same problem, this did fix the problem: https://github.com/robotframework/SeleniumLibrary/pull/1374/files#diff-566132cdf5a534d7e99598e5acc77378R243

@aaltat aaltat merged commit 57982fa into robotframework:master Apr 22, 2019
@aaltat aaltat deleted the same_alias branch April 22, 2019 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

It should be possible to configure Open Browser keyword to not always open a new browser.

1 participant