\n",
+ " Below is where you can find the latest releases of all the Selenium components. You can also find a\n",
+ " list of previous releases, source code, and additional information for Maven users.\n",
+ "
\n",
+ "
Previous Releases
\n",
+ "
\n",
+ "\n",
+ "\n",
+ "
\n",
+ "
\n",
+ "
Selenium Server (Grid)
\n",
+ "
The Selenium Server is needed in order to run Remote Selenium WebDriver (Grid).
This is required if you want to make use of the latest and greatest features of the WebDriver InternetExplorerDriver. \n",
+ " Please make sure that this is available on your $PATH (or %PATH% on Windows) in order for the IE\n",
+ " Driver to work as expected.\n",
+ "
In order to create scripts that interact with the Selenium Server (Remote WebDriver) or create local Selenium WebDriver scripts,\n",
+ " you need to make use of language-specific client drivers.
\n",
+ "\n",
+ "
While language bindings for other languages exist,\n",
+ " these are the core ones that are supported by the main project hosted on GitHub.
Selenium IDE is a Chrome and Firefox plugin which records and plays back user interactions with the browser. Use this to either create simple scripts or assist in exploratory testing.
If you're using Maven, you will find more information here.
\n",
+ "
\n",
+ "\n",
+ "
\n",
+ "
Third Party Drivers, Bindings, and Plugins
\n",
+ "
\n",
+ " Selenium can be extended through the use of plugins. \n",
+ " Here are a number of plugins created and maintained by third parties.\n",
+ " For more information on how to create your own plugin or have it listed,\n",
+ " learn more here.\n",
+ "
\n",
+ "
\n",
+ "\n",
+ "
\n",
+ "
Platforms Supported by Selenium
\n",
+ "
\n",
+ "\n",
+ "
+ Browsers
\n",
+ "
- Browsers
\n",
+ "
\n",
+ "
Firefox
\n",
+ "
GeckoDriver is implemented and supported by Mozilla, refer to their\n",
+ " documentation\n",
+ " for supported versions.\n",
+ "
\n",
+ "\n",
+ "
Internet Explorer
\n",
+ "
Only version 11 is supported, and it requires additional\n",
+ " configuration.\n",
+ "
\n",
+ "\n",
+ "
Safari
\n",
+ "
\n",
+ " SafariDriver is supported directly by Apple, for more information, check their\n",
+ " documentation\n",
+ "
\n",
+ "\n",
+ "
Opera
\n",
+ "
\n",
+ " OperaDriver is supported by Opera Software, refer to their\n",
+ " documentation\n",
+ " for supported versions.\n",
+ "
\n",
+ "\n",
+ "
Chrome
\n",
+ "
\n",
+ " ChromeDriver is supported by the Chromium project, please refer to their\n",
+ " documentation\n",
+ " for any compatibility information\n",
+ "
\n",
+ "\n",
+ "
Edge
\n",
+ "
\n",
+ " Microsoft is implementing and maintaining the Microsoft Edge WebDriver, please refer to their\n",
+ " documentation\n",
+ " for any compatibility information\n",
+ "
\n",
+ "
\n",
+ "\n",
+ "
+ Operating Systems
\n",
+ "
- Operating Systems
\n",
+ "
\n",
+ "
Microsoft Windows
\n",
+ "
\n",
+ " Most versions of MS Windows that are currently still supported by Microsoft should work with Selenium.\n",
+ " Although we use the latest MS Windows to troubleshoot things, it does not mean Selenium won't attempt to support different\n",
+ " versions of Windows. This only means we don't continually run tests on other particular version of Windows.\n",
+ "
\n",
+ "\n",
+ "
macOS
\n",
+ "
\n",
+ " We currently do not use any version of macOS in our automated tests against the selenium project. However most developers on the\n",
+ " project are using a recent version of macOS and we'll continue to support the current stable release and often the previous release.\n",
+ "
\n",
+ "\n",
+ "
Linux
\n",
+ "
\n",
+ " We test mainly on Ubuntu, but other variations of Linux should also work where the browser manufacturers support them.\n",
+ "
\n",
+ "
\n",
+ "\n",
+ "
\n",
+ "
Source Code
\n",
+ "
You can also find a list of the Selenium source code at our GitHub repository here.
\n"
+ ]
+ }
+ ],
+ "source": [
+ "download = driver.find_element_by_link_text(\"Downloads\")\n",
+ "download.click()\n",
+ "print(driver.page_source)\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 45,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "search = driver.find_element_by_id(\"gsc-i-id1\")\n",
+ "search.send_keys(\"testf\")\n",
+ "search.send_keys(Keys.RETURN)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 47,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Selenium IDE · Open source record and playback test automation for ...\n",
+ "https://www.seleniumhq.org/selenium-ide/\n",
+ "Enjoy easier test debugging with rich IDE features like setting breakpoints and pausing on exceptions. lightning bolt. Cross-browser Execution. Run your tests ...\n",
+ "Command-line Runner · Selenium IDE\n",
+ "https://www.seleniumhq.org/selenium-ide/docs/en/.../command-line-runner/\n",
+ "29 Jul 2019 ... If you want the tests within a suite to be executed in parallel, there is a setting you' ll need to change. See Test Parallelization In A Suite for details.\n",
+ "SeleniumHQ Browser Automation\n",
+ "https://www.seleniumhq.org/\n",
+ "Primarily it is for automating web applications for testing purposes, but is ... If you want to create robust, browser-based regression automation suites and tests, ...\n",
+ "Getting Started · Selenium IDE\n",
+ "https://www.seleniumhq.org/selenium-ide/docs/en/.../getting-started/\n",
+ "19 Feb 2019 ... Tests can be grouped together into suites. On project creation, a Default Suite gets created and your first test gets added to it automatically. To ...\n",
+ "Code Export · Selenium IDE\n",
+ "https://www.seleniumhq.org/selenium-ide/docs/en/.../code-export\n",
+ "28 Oct 2019 ... Getting Started. You can export either a test or suite of tests to WebDriver code by right-clicking on a test or a suite, selecting Export , choosing ...\n",
+ "Emitting Setup and Teardown Code · Selenium IDE\n",
+ "https://www.seleniumhq.org/selenium-ide/docs/.../emitting-setup-teardown\n",
+ "31 Dec 2018 ... Test Architecture. Under the hood the runner uses jest to perform the tests. Tests in general look like so // config emission describe( ...\n",
+ "Control Flow · Selenium IDE\n",
+ "https://www.seleniumhq.org/selenium-ide/docs/en/.../control-flow/\n",
+ "3 Jun 2019 ... Selenium IDE comes with commands that enable you to add conditional logic and looping to your tests.\n",
+ "The Selenium Browser Automation Project :: Documentation for ...\n",
+ "www.seleniumhq.org/documentation\n",
+ "... install and successfully use Selenium as a test automation tool, and scaling simple tests like this to run in large, distributed environments on multiple browsers, ...\n",
+ "Commands · Selenium IDE\n",
+ "https://www.seleniumhq.org/selenium-ide/docs/en/api/commands/\n",
+ "27 Dec 2018 ... The test will stop if the assert fails. arguments. text: The text to use. assert editable . Confirm that the target element is ...\n",
+ "FAQ · Selenium IDE\n",
+ "https://www.seleniumhq.org/selenium-ide/docs/en/introduction/faq/\n",
+ "3 Jun 2019 ... To add a hover to your test, there's a small bit of manual intervention required. And there are two different ways you can do it. Option 1: Add it ...\n"
+ ]
+ }
+ ],
+ "source": [
+ "search_result = driver.find_element_by_class_name(\"gsc-expansionArea\")\n",
+ "print(search_result.text)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# google search test"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 85,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Local Time\n",
+ "01:47\n",
+ "Friday, 17 July 2020 (BST)\n",
+ "Time in Coventry, UK\n",
+ "Feedback\n",
+ "Web results\n",
+ "\n",
+ "Time.is - exact time, any time zone\n",
+ "time.is\n",
+ "7 million locations, 46 languages, synchronized with atomic clock time.\n",
+ "United Kingdom · London · GMT · Just time\n",
+ "\n",
+ "TIME | Current & Breaking News | National & World Updates\n",
+ "time.com\n",
+ "Breaking news and analysis from TIME.com. Politics, world news, photos, video, tech reviews, health, science and entertainment news.\n",
+ "\n",
+ "The World Clock — Worldwide - Time and Date\n",
+ "www.timeanddate.com › worldclock\n",
+ "Current Local Times Around the World. Sort By: City, Country, Time. Cities Shown:.\n",
+ "\n",
+ "Current Local Time in London, England, United Kingdom\n",
+ "www.timeanddate.com › worldclock › london\n",
+ "Current local time in United Kingdom – England – London. Get London's weather and area codes, time zone and DST. Explore London's sunrise and sunset, ...\n",
+ "People also ask\n",
+ "What is 3pm EST in my timezone?\n",
+ "\n",
+ "How are different time zones calculated?\n",
+ "\n",
+ "What are the different time zones in USA?\n",
+ "\n",
+ "What is the time in hours minutes and seconds?\n",
+ "\n",
+ "Feedback\n",
+ "Web results\n",
+ "\n",
+ "Time - Wikipedia\n",
+ "en.wikipedia.org › wiki › Time\n",
+ "Time is the indefinite continued progress of existence and events that occur in an apparently irreversible succession from the past, through the present, into the ...\n",
+ "\n",
+ "Time.gov\n",
+ "www.time.gov\n",
+ "NIST promotes U.S. innovation and industrial competitiveness by advancing measurement science, standards, and technology in ways that enhance economic ...\n",
+ "\n",
+ "The Time Zone Converter\n",
+ "www.thetimezoneconverter.com\n",
+ "The Time Zone Converter converts times instantly as you type. Convert between major world cities, countries and timezones in both directions.\n",
+ "\n",
+ "time — Time access and conversions — Python 3.8.4 ...\n",
+ "docs.python.org › library › time\n",
+ "E.g. on most Unix systems, the clock “ticks” only 50 or 100 times a second. On the other hand, the precision of time() and sleep() is better than their Unix ...\n",
+ "\n",
+ "Current Time in United Kingdom - Current local time in United ...\n",
+ "www.worldtimeserver.com › current_time_in_GB\n",
+ "Choose a date and time then click \"Submit\" and we'll help you convert it from United Kingdom time to your time zone. 2020, 2021, 2022, 2023, 2024, 2025. 2020.\n",
+ "\n",
+ "WorldTimeServer.com: Current Local Time and Date in any ...\n",
+ "www.worldtimeserver.com\n",
+ "World Time Server shows current local time and date in cities and countries in all time zones, adjusted for Daylight Saving Time rules automatically.\n"
+ ]
+ }
+ ],
+ "source": [
+ "driver = webdriver.Edge(path)\n",
+ "driver.get(\"https://www.google.com/\")\n",
+ "\n",
+ "search = driver.find_element_by_xpath(\"/html/body/div/div[2]/form/div[2]/div[1]/div[1]/div/div[2]/input\")\n",
+ "search.send_keys(\"time\")\n",
+ "search.send_keys(Keys.RETURN)\n",
+ "\n",
+ "search_result = driver.find_element_by_id(\"rso\")\n",
+ "print(search_result.text)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 67,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Driver - Google Search
Driver is an action driving video game, and the first installment in the Driver series. Developed by Reflections Interactive and published by GT Interactive ...
A driver provides a software interface to hardware devices, enabling operating systems and other computer programs to access hardware functions without needing to know precise details about the hardware being used.
Well, actually there is two games in the series that came after Driver: San Francisco. However, in matter of a console or PC release, Ubisoft hasn't announced any plan for a new Driver game. Announced Ubisoft games as of today: Watch Dogs 2 (2016)
This legal notice is for bus and lorry drivers aged 45 and over who currently need to renew their licences. If you are in this category, you must read this notice.
Driving is the controlled operation and movement of a motor vehicle, including cars, motorcycles, trucks, and buses. Permission to drive on public highways is granted based on a set of conditions being met and drivers are required to follow the established road and traffic laws in the location they are driving.Wikipedia