Skip to main content

Selenium supporter

Project description

selenium-supporter

https://pypi.org/project/selenium-supporter

pip install selenium-supporter

Supported APIs:

import selenium_supporter

selenium_supporter.drivers.ChromeDriver()
selenium_supporter.drivers.ChromeDebuggingDriver()

selenium_supporter.utils.get_chrome_web_browser_path()
selenium_supporter.utils.kill_all_chrome_web_browser_processes()
selenium_supporter.utils.kill_all_chrome_web_browser_driver_processes()
selenium_supporter.utils.open_chrome_web_browser(user_data_dir=None, proxy_server=None)
selenium_supporter.utils.open_chrome_web_browser_with_remote_debugging_mode(remote_debugging_port, remote_debugging_address, user_data_dir=None, proxy_server=None, headless=False)
selenium_supporter.utils.check_port_open(ip, port)
selenium_supporter.utils.save_partial_screenshot(element, image_file)
selenium_supporter.utils.save_full_screenshot(driver, image_file)     
selenium_supporter.utils.save_full_screenshot_with_scroll(driver, image_file)
selenium_supporter.utils.save_partial_screenshot_with_scroll(driver, partial_element, image_file)
selenium_supporter.utils.set_value(driver, element, value)
selenium_supporter.utils.set_value_send_keys(driver, element, value)
selenium_supporter.utils.set_attribute(driver, element, attribute, value)
selenium_supporter.utils.remove_element(driver, element)
selenium_supporter.utils.remove_x_scrollbar(driver)
selenium_supporter.utils.click(element)
selenium_supporter.utils.click_send_keys(driver, element)    
selenium_supporter.utils.click_javascript(driver, element)
selenium_supporter.utils.scroll_down_to_bottom(driver)

Examples:
https://github.com/automatethem/selenium-supporter/blob/main/examples/server.py
https://github.com/automatethem/selenium-supporter/blob/main/examples/client.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

selenium-supporter-0.0.22.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

selenium_supporter-0.0.22-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page