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

Switch selenium libraries #76

Merged
merged 1 commit into from May 12, 2020
Merged

Switch selenium libraries #76

merged 1 commit into from May 12, 2020

Conversation

matthewmcgarvey
Copy link
Member

Fixes #75

Moving to https://github.com/matthewmcgarvey/selenium.cr

The previous selenium library was made to support the obsolete JsonWireProtocol which is not guaranteed to be followed by browsers. Moving to the W3C standard which this new library supports gives greater compatibility to browsers as it is the standard all the main selenium libraries use.

This also gives lucky_flow the potential to be used to test against more than just Chrome.

@jwoertink
Copy link
Member

I think this is definitely a good move. This will let us stay more current and give us more options. I'll need to dig in a bit more to see how this is all working, but I like what I'm seeing so far!

@matthewmcgarvey
Copy link
Member Author

If this gets approved, I've added this ability to run the driver processes to the library so that the chromedriver code can be removed

crystal-loot/selenium.cr@4f9c100

Copy link
Member

@jwoertink jwoertink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It all looks good to me! Let's see what @paulcsmith says, but I think this will be a great addition

Copy link
Member

@paulcsmith paulcsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAS. Love it.

I saw the linked code about starting/stopping chromedriver. It mentioned not having an at_exit, but you could use Spec.after_suite maybe? Either way this looks great as-is.

@paulcsmith paulcsmith merged commit 65e2c45 into luckyframework:master May 12, 2020
@matthewmcgarvey matthewmcgarvey deleted the selenium-update branch May 12, 2020 22:00
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.

Switch Selenium libraries
3 participants