π 2023-05-12 β Session: Resolved ChromeDriver and Selenium integration issues
π 04:40β05:00
π·οΈ Labels: Chromedriver, Selenium, Instapy, Automation, Troubleshooting
π Project: Dev
β Priority: MEDIUM
Session Goal
The primary goal of this session was to address and resolve issues related to ChromeDriver version mismatches and Selenium attribute errors, ensuring smooth web automation processes.
Key Activities
- Troubleshooting ChromeDriver Version Issues: A checklist was followed to ensure the correct version of ChromeDriver was being used, addressing common version mismatch issues.
- Resolving Selenium Attribute Error: Steps were taken to resolve the βServiceβ object attribute error in Selenium, including version updates and code modifications.
- Using InstaPy for Instagram Login: Code examples were provided to demonstrate the use of InstaPy library for logging into Instagram using ChromeDriver.
- Custom Selenium Session Setup: A custom function
set_selenium_local_sessionwas defined to configure a Selenium browser instance for use with InstaPy. - Troubleshooting Instagram Login Issues: Steps were outlined to resolve internet connection issues during Instagram login attempts.
- Checking Logs in InstaPy: Guidance was given on accessing and reviewing logs generated by InstaPy scripts.
Achievements
- Successfully resolved ChromeDriver and Selenium integration issues.
- Implemented a custom Selenium session setup for InstaPy.
- Provided solutions for Instagram login issues and log checking in InstaPy.
Pending Tasks
- Further testing of the custom Selenium session setup with different versions of ChromeDriver and Selenium to ensure compatibility.