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

Fixes downloading on m1 macs from version 106.0.5249.61 onwards #241

Closed
wants to merge 1 commit into from

Conversation

frenesim
Copy link

@frenesim frenesim commented Oct 8, 2022

Fix a similar Issue to #237

The download is failing again for the newer chrome version. From version 106.0.5249.61 onwards seems the filename is 'chromedriver_mac_arm64.zip'.

https://chromedriver.storage.googleapis.com/

Let me know if we should open an issue to this one.

I found testing this change a bit hard, so I went on testing a private method 💀 . I tested the method I perceive as the best candidate to be the public API of a new class.

@jmccure
Copy link
Contributor

jmccure commented Oct 8, 2022

@frenesim I don't think this really changes anything. The only change is the method name and changing the strings to double quotes. What error are you fixing? The two latest chromedriver versions have the same filename suffix.

106.0.5249.61/chromedriver_mac_arm64.zip
107.0.5304.18/chromedriver_mac_arm64.zip

Are you using the latest version of this gem?

Also I have tests that don't test the private methods in #240

@frenesim
Copy link
Author

frenesim commented Oct 8, 2022

You are right. I thought I had the latest version, but no.
Funny, we end up with almost the same code. :)

@frenesim frenesim closed this Oct 8, 2022
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