Skip to content

Commit

Permalink
fixes Kalebu#151: got multiple values for argument 'options'
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtalhaasghar committed Jun 13, 2024
1 parent 2d82a8d commit d19f424
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion alright/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service as ChromeService
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
Expand All @@ -37,7 +38,7 @@ def __init__(self, browser=None, time_out=600):

if not browser:
browser = webdriver.Chrome(
ChromeDriverManager().install(),
service=ChromeService(ChromeDriverManager().install()),
options=self.chrome_options,
)

Expand Down

1 comment on commit d19f424

@iamtalhaasghar
Copy link
Owner Author

Choose a reason for hiding this comment

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

thanks you @s33k3rs for the patch you provided here Kalebu#151 (comment)

Please sign in to comment.