5. Advanced tricks

I am going to share with you some Advanced WebDriver usages in tests.

  • Entering keystrokes from keyboard

  • Taking a Screenshot

  • Get HTML Source of WebElement

  • Execute JavaScript

  • Execute Tests in a Headless Browser

  • Check If an Element Is Visible

  • Use Specific Profile

  • Turn Off JavaScript

  • Manage Cookies

Add a New Cookie

Get All Cookies

Delete a Cookie by Name

Delete All Cookies

Get a Cookie by Name

Last updated