{"id":22804387,"url":"https://github.com/divinemonk/selenium_cheatsheet","last_synced_at":"2026-05-07T06:37:47.255Z","repository":{"id":130581860,"uuid":"402963637","full_name":"Divinemonk/selenium_cheatsheet","owner":"Divinemonk","description":"Selenium: cheatsheet","archived":false,"fork":false,"pushed_at":"2022-03-12T17:57:12.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"m41n","last_synced_at":"2025-02-05T23:30:59.775Z","etag":null,"topics":["automate","automated-testing","automation","cheatsheet","cheatsheets","chrome","firefox","java","java-automation","python","python-automation","selenium","selenium-java","selenium-python","selenium-tests","selenium-webdriver"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Divinemonk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-04T04:31:08.000Z","updated_at":"2023-04-16T17:20:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"923dc135-9726-4c1a-90ae-5989b7a15556","html_url":"https://github.com/Divinemonk/selenium_cheatsheet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divinemonk%2Fselenium_cheatsheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divinemonk%2Fselenium_cheatsheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divinemonk%2Fselenium_cheatsheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divinemonk%2Fselenium_cheatsheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Divinemonk","download_url":"https://codeload.github.com/Divinemonk/selenium_cheatsheet/tar.gz/refs/heads/m41n","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246376279,"owners_count":20767244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automate","automated-testing","automation","cheatsheet","cheatsheets","chrome","firefox","java","java-automation","python","python-automation","selenium","selenium-java","selenium-python","selenium-tests","selenium-webdriver"],"created_at":"2024-12-12T10:08:02.609Z","updated_at":"2026-05-07T06:37:42.213Z","avatar_url":"https://github.com/Divinemonk.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Selenium cheatsheet\n\n\u003cbr\u003e\n\u003chr\u003e\n\u003cbr\u003e\n\n## **To import webdriver module in python use below import statement**\n\n```from selenium import webdriver```\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## **Driver setup:**\n\n\n- *Firefox:* \n`firefoxdriver = webdriver.Firefox(executable_path=”Path to Firefox driver”)`\n\n- *Chrome:*\n`chromedriver = webdriver.Chrome(executable_path=”Path to Chrome driver”)`\n\n\n- *Internet Explorer:*\n`iedriver = webdriver.IE(executable_path=”­Pat­h To­ IEDriverServer.exe”)`\n\n- *Edge:*\n`edgedriver = webdriver.Edge(executable_path=”­Pat­h To­ MicrosoftWebDriver.exe”)`\n\n- *Opera:*\n`operadriver = webdriver.Opera(executable_path=”­Pat­h To­ operadriver”)`\n\n\n- *Safari:*\n`SafariDriver now requires manual installation of the extension prior to automation`\n\n\u003cbr\u003e\n\n### Download the webdrivers from *[Official Page](https://www.selenium.dev/documentation/getting_started/installing_browser_drivers/#quick-reference)*\n\n\u003cbr\u003e \n\u003cbr\u003e\n\n## **Browser Arguments:**\n\n–headless\n\nTo open browser in headless mode. Works in both Chrome and Firefox browser\n\n–start-maximized\n\nTo start browser maximized to screen. Requires only for Chrome browser. Firefox by default starts maximized\n\n–incognito\n\nTo open private chrome browser\n\n–disable-notifications\n\nTo disable notifications, works Only in Chrome browser\n\n\n\nhttp://allselenium.info/python-selenium-commands-cheat-sheet-frequently-used/\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003e A Divinemonk creation!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivinemonk%2Fselenium_cheatsheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivinemonk%2Fselenium_cheatsheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivinemonk%2Fselenium_cheatsheet/lists"}