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

Is it possible to use Helium with Safari #94

Open
brr53 opened this issue Oct 1, 2022 · 1 comment
Open

Is it possible to use Helium with Safari #94

brr53 opened this issue Oct 1, 2022 · 1 comment

Comments

@brr53
Copy link

brr53 commented Oct 1, 2022

Hello, I'd like to use Helium with Safari although I see it is not supported via the docs.

@Michal-Mikolas
Copy link

Michal-Mikolas commented Jun 14, 2023

I know the question is old... But something like this should work:

from selenium import webdriver
from helium import *

# Open your favourite browser using Selenium
driver = webdriver.Safari()
driver.get('YOUR_URL')

# Pass the Selenium driver into Helium
set_driver(driver)  

# Now use Helium as usual
click('Login')
write('[email protected]', into='E-mail')
#...

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

No branches or pull requests

2 participants