pyderman icon indicating copy to clipboard operation
pyderman copied to clipboard

"invalid literal" when using MS Edge on MacOS

Open alvations opened this issue 2 years ago • 0 comments

When using Microsoft Edge browser on Mac OS, it seems to have some invalid literal error in parsing the URL:

import pyderman
pyderman.drivers.edge.get_url(version='latest', _os="mac")

[out]:

invalid literal for int() with base 10: 'EULA" target="_blank" rel="noopener noreferrer">EULA</a> and <a href="https://msedgedriver'

Instead of

https://msedgewebdriverstorage.blob.core.windows.net/edgewebdriver/100.0.1158.0/edgedriver_mac64.zip

the URL was pointing to:

('msedgedriver',
 'https://msedgedriver.azureedge.net/latest/edgedriver_mac64.zip',
 'latest')

alvations avatar Jun 14 '23 12:06 alvations