Skip to content

Rewrite the window name tests to avoid forcing a pattern#294

Merged
stof merged 1 commit intominkphp:masterfrom
stof:fix_window_name
Oct 3, 2018
Merged

Rewrite the window name tests to avoid forcing a pattern#294
stof merged 1 commit intominkphp:masterfrom
stof:fix_window_name

Conversation

@stof
Copy link
Copy Markdown
Member

@stof stof commented Oct 3, 2018

Selenium defines the window name as a opaque string, so each browser is free to use anything they want. And this changed over time, causing the UUID regex to break even for browsers using a UUID in the past (Chrome adds more things around the UUID for instance).

Selenium defines the window name as a opaque string, so each browser is free
to use anything they want. And this changed over time, causing the UUID regex
to break even for browsers using a UUID in the past (Chrome adds more things
around the UUID for instance).
@aik099
Copy link
Copy Markdown
Member

aik099 commented Oct 3, 2018

OK.

@stof
Copy link
Copy Markdown
Member Author

stof commented Oct 3, 2018

this makes these tests pass when running them locally against chrome and firefox

@stof stof merged commit 560fc72 into minkphp:master Oct 3, 2018
@stof stof deleted the fix_window_name branch October 3, 2018 13:07
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.

2 participants