> For the complete documentation index, see [llms.txt](https://n-saikiran.gitbook.io/selenium-2-webdriver-advanced/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://n-saikiran.gitbook.io/selenium-2-webdriver-advanced/advanced-tricks.md).

# 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
