Selenium (software)
Selenium is an open source umbrella project for a range of tools and libraries aimed at supporting browser automation. It provides a playback tool for authoring functional tests across most modern web browsers, without the need to learn a test scripting language (Selenium IDE). It also provides a test domain-specific language (Selenese) to write tests in a number of popular programming languages, including JavaScript (Node.js), C#, Groovy, Java, Perl, PHP, Python, Ruby and Scala. Selenium runs on Windows, Linux, and macOS. It is open-source software released under the Apache License 2.0.
Selenium is an open source umbrella project for a range of tools and libraries aimed at supporting browser automation. It provides a playback tool for authoring functional tests across most modern web browsers, without the need to learn a test scripting language (Selenium IDE). It also provides a test domain-specific language (Selenese) to write tests in a number of popular programming languages, including JavaScript (Node.js), C#, Groovy, Java, Perl, PHP, Python, Ruby and Scala. Selenium runs on Windows, Linux, and macOS. It is open-source software released under the Apache License 2.0. from selenium.webdriver import Firefox from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support.expected_conditions import presence_of_element_located from selenium.webdriver.remote.webelement import WebElement if __name__ == "__main__": # This example requires Selenium WebDriver 3.13 or newer with Firefox() as driver: wait: WebDriverWait = WebDriverWait(driver, 10) driver.get("https://google.com/ncr") driver.find_element(By.NAME, "q").send_keys(f"cheese{Keys.RETURN}") first_result: WebElement = wait.until(presence_of_element_located((By.CSS_SELECTOR, "h3"))) print(first_result.get_attribute("textContent")) package org.wikipedia.examples; import java.time.Duration; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.support.ui.WebDriverWait; import static org.openqa.selenium.support.ui.ExpectedConditions.presenceOfElementLocated; public class HelloSelenium { public static void main(String[] args) { try (WebDriver driver = new FirefoxDriver()) { WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(10)) driver.get("https://google.com/ncr"); driver.findElement(By.name("q")).sendKeys("cheese" + Keys.ENTER); WebElement firstResult = wait.until(presenceOfElementLocated(By.cssSelector("h3"))); System.out.println(firstResult.getAttribute("textContent")); driver.quit(); } catch (Exception e) { System.err.printf("Error caught: %s%n", e.getMessage()); } } } namespace Wikipedia.Examples; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.Support.UI; public class HelloSelenium { static void Main(string[] args) { using (IWebDriver driver = new FirefoxDriver()) { WebDriverWait wait = new(driver, TimeSpan.FromSeconds(10)); driver.Navigate().GoToUrl("https://www.google.com/"); driver.FindElement(By.Name("q")).SendKeys($"cheese{Keys.Enter}"); wait.Until(webDriver => webDriver.FindElement(By.CssSelector("h3")).Displayed); IWebElement firstResult = driver.FindElement(By.CssSelector("h3")); Console.WriteLine(firstResult.GetAttribute("textContent")); } } } ==See also== Appium, mobile and desktop apps automation using WebDriver Acceptance testing Capybara (software) Given-When-Then List of web testing tools MediaWiki Selenium Regression testing Robot Framework Cypress ==References== ==External links==
References
- ^ "It's back! Selenium IDE Reborn with Dave Haeffner" . testingpodcast.com . December 24, 2018. Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ Dave, Tour de (August 6, 2018). "Selenium IDE Is Dead, Long Live Selenium IDE!" . Selenium IDE Official Blog . Retrieved November 27, 2019 – via seleniumhq.wordpress.com. Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ Colantonio, Joe (November 27, 2018). "Stunning return of Selenium IDE" . testguild.com . Retrieved November 27, 2019 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ Sargent, Al (March 19, 2019). "List of new Selenium IDE features" . applitools.com . Retrieved October 18, 2021 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "Selenium Remote-Control" . seleniumhq.org . Retrieved November 13, 2019 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "Selenium 1 (Selenium RC) :: Documentation for Selenium" . www.selenium.dev . Retrieved December 20, 2020 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ sparkdatabox_author (October 16, 2019). "Selenium | Spark Databox" . Retrieved December 20, 2020 . {{ cite web }} : |last= has generic name ( help ) Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "Headless is Going Away" . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "The Architecture of Open Source Applications: Selenium WebDriver" . aosabook.org . Retrieved February 7, 2016 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ Smith, Michael (June 5, 2018). "WebDriver motors on to W3C Recommendation" . W3C Blog . Retrieved September 10, 2018 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "Downloads" . Selenium . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "Selenium Grid" . The Selenium Browser Automation Project . Retrieved September 9, 2020 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ Abdullaiev, O.A.; Ibrahimova, L. V. (2020). "Review of testing software: Selenium software" (PDF) . Вінницький національний технічний університет . УДК 004.457. Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "About Selenium" . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "Selenium History" . www.selenium.dev . Retrieved August 11, 2021 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "The Selenium Project" . thenewcircle.com . NewCircle . Retrieved June 29, 2014 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ Krill, Paul (April 6, 2011). "Open source Selenium web app test suite to support iPhone and Android" . InfoWorld . Archived from the original on May 5, 2011 . Retrieved May 9, 2012 . Selenium was so named because Huggins, dissatisfied with testing tools on the market, was seeking a name that would position the product as an alternative to Mercury Interactive QuickTest Professional commercial testing software. The name, Selenium, was selected because selenium mineral supplements serve as a cure for mercury poisoning, Huggins explained. Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ Moizuddin, Khaja (June 7, 2018). "Components of the Selenium Automation Tool" . dzone.com . DevOps Zone . Retrieved July 10, 2019 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "Downloads" . selenium.dev . Retrieved September 29, 2021 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "The Selenium Browser Automation Project" . selenium.dev . March 16, 2020 . Retrieved November 1, 2021 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- ^ "Release 4.53.0" . November 17, 2026 . Retrieved November 18, 2026 . Wikipedia revision 1371333749, retrieved 2026-11-22 · 1795302000.0
- Downloads . Selenium . · 1787612400.0
- Selenium IDE Is Dead, Long Live Selenium IDE! . · 1787612400.0
- Colantonio, Joe. Stunning return of Selenium IDE . testguild.com . 2018-11-27. retrieved 2019-11-27 · 1574809200.0
- Sargent, Al. List of new Selenium IDE features . applitools.com . 2019-03-19. retrieved 2021-10-18 · 1634511600.0
- Selenium Remote-Control . seleniumhq.org . retrieved 2019-11-13 · 1573599600.0
- Selenium 1 (Selenium RC) :: Documentation for Selenium . www.selenium.dev . retrieved 2020-12-20 · 1608418800.0
- Selenium ! . · 1787612400.0
- Headless is Going Away . · 1787612400.0
- The Architecture of Open Source Applications: Selenium WebDriver . aosabook.org . retrieved February 7, 2016 · 1787612400.0
- Smith, Michael. WebDriver motors on to W3C Recommendation . W3C Blog . June 5, 2018. · 1787612400.0
- Selenium Grid . The Selenium Browser Automation Project . retrieved 9 September 2020 · 1787612400.0
- The Selenium Browser Automation Project . selenium.dev . 2020-03-16. retrieved 1 November 2021 · 1787612400.0
- Review of testing software: Selenium software . · 1787612400.0
- About Selenium . · 1787612400.0
- Selenium History . www.selenium.dev . retrieved 2021-08-11 · 1628636400.0
- The Selenium Project . thenewcircle.com . retrieved June 29, 2014 · 1787612400.0
- Krill, Paul. Open source Selenium web app test suite to support iPhone and Android . April 6, 2011. · 1787612400.0
- Moizuddin, Khaja. Components of the Selenium Automation Tool . June 7, 2018. retrieved July 10 · 1787612400.0
- It's back! Selenium IDE Reborn with Dave Haeffner . · 1787612400.0
Cite this
"Selenium (software)". 1787692629. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1371333749