Selenium Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 13: Line 13:
=Client=
=Client=


The Selenium client exposes the WebDriver API, which can be used to interact with the page. The client extends RemoteWebDriver, which communicates with the [[#Server|remote Selenium server]].
The Selenium client exposes the WebDriver API, which can be used to interact with the page. The client extends RemoteWebDriver, which communicates with the [[#Server|remote Selenium server]]. There are browser-specific constructors for the WebDriver (ChromeDriver, FirefoxDriver).


=Server=
=Server=

Revision as of 21:28, 1 August 2019

External

Internal

Selenium Architecture

Selenium has a client-server architecture, and includes both client and server components.

Client

The Selenium client exposes the WebDriver API, which can be used to interact with the page. The client extends RemoteWebDriver, which communicates with the remote Selenium server. There are browser-specific constructors for the WebDriver (ChromeDriver, FirefoxDriver).

Server

The Selenium server receives request from the Selenium client's RemoteWebDriver.

It also includes WebDriver API to run tests against web browsers on the server machine.