Resolved Selenium and ChromeDriver compatibility issues
- Day: 2023-05-12
- Time: 03:55 to 04:35
- Project: Dev
- Workspace: WP 2: Operational
- Status: Completed
- Priority: MEDIUM
- Assignee: Matías Nehuen Iglesias
- Tags: Selenium, Chromedriver, Instapy, Web Automation, Troubleshooting
Description
Session Goal
The session aimed to resolve compatibility issues between Selenium, geckodriver, Firefox, and ChromeDriver, and to configure InstaPy for web automation using Chrome.
Key Activities
- Checked versions of Geckodriver, Firefox, and Selenium to ensure compatibility.
- Resolved an attribute error related to the ‘Service’ object in Selenium’s WebDriver module.
- Configured InstaPy to work with ChromeDriver, including specifying the ChromeDriver path and updating Selenium WebDriver code to use a
Serviceobject. - Addressed the
SessionNotCreatedExceptionerror by updating ChromeDriver to match the Chrome browser version.
Achievements
- Successfully configured InstaPy to operate with ChromeDriver instead of geckodriver.
- Resolved compatibility issues and deprecated parameter usage in Selenium WebDriver code.
Pending Tasks
- Further testing of the InstaPy configuration with different versions of Chrome and ChromeDriver to ensure robustness.
- Monitor for any new deprecation warnings or compatibility issues in future Selenium updates.
Evidence
- source_file=2023-05-12.sessions.jsonl, line_number=1, event_count=0, session_id=28098e9cb494d955a0d14dff36904178ccbdb06d79715b703c0d97ee9767f6f2
- event_ids: []