{"agent":"claude","input":"Upgrade this project's Selenium tests to Selenium 4. Read how selenium is declared (requirements files, setup.py extras, pyproject.toml) and which version a fresh install resolves to, and read how CI installs and runs the tests. Find every use of the removed APIs: find_element_by_* and find_elements_by_* called directly, the same names passed as strings to getattr or to helper functions, webdriver.PhantomJS, desired_capabilities, executable_path, and the *_options keyword renames. Include tests that are commented out or skipped, and say when and why they were disabled if git history shows it. Confirm each removed name against the installed package and list them. Port the code: find_element(By.X, value) for locators, a headless Chrome or Firefox driver in place of PhantomJS, Service and Options objects in place of removed keyword arguments. Change helper signatures where a method name was passed as a string. Do not change what the tests assert. Install a browser if the sandbox has none, run the Selenium tests, and report each test as passed, failed or skipped with the reason from the log; a skipped test is not a pass. If a test helper turns timeouts or errors into skips, say so and show what was hidden. If tests fail for a reason unrelated to the Selenium API, such as the live server or the database, diagnose it from the log, propose the fix, and apply it only if it is confined to the test files. Run the remaining test suite before and after to show it is unaffected. Set a lower bound of selenium 4 in the dependency declaration. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}