List some CSS selectors of selenium webdriver?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Mar 04, 2020

 

Some of the mainly used CSS selectors are,

  • Tag and ID
  • Tag and Class
  • Tag and Attribute
  • Tag, Class, and Attribute
  • Child elements such as Direct child, Sub-child, nth-child
  • And, Sub-Strings that matches start with (^), ends with ($) and contains (*)

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Selenium WebDriver Interview Questions

    What is a WebDriver in selenium?

    WebDriver in Selenium is a web automation framework. It allows the developers to execute their tests against different browsers. With this, the developers can also use different programming languages ...

    Selenium WebDriver Interview Questions

    What are the components of selenium?

    There are four basic components present in the WebDriver architecture.Bindings JSON Wire Protocol Browser Drivers Real BrowsersBindings are used by the developers in order to support multi...

    Selenium WebDriver Interview Questions

    What are the limitations of Selenium WebDriver?

    Some of the limitations of the Selenium WebDriver are,Only support for Web-Based applications Takes time to create test cases Difficult to set up a test environment No support for automation o...