# 3.1. What is WebDriver?

Selenium là một bộ công cụ mà WebDriver là một trong nhưng tool ở trong đó. Selenium là một automation tool cho browser, còn chữ Driver ở đây là sao?

Nếu coi các đoạn script viết với selenium là phần mềm, browser là một phần cứng thì để 2 thành phần này nói chuyện được vơi nhau chúng cần một "driver" hay trình phiên dịch. Đó là lý do mà Selenium cần biết được các file driver nằm ở trong trong hệ thống của bạn.

Các driver tương ứng là

| System property         |                                                                            |
| ----------------------- | -------------------------------------------------------------------------- |
| webdriver.chrome.driver | PATH to [**chromedriver**](https://chromedriver.chromium.org/downloads)    |
| webdriver.gecko.driver  | PATH to [**geckodriver**](https://github.com/mozilla/geckodriver/releases) |
| webdriver.ie.driver     | PATH to [IEDriver](https://www.selenium.dev/downloads/)                    |

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tvn.gitbook.io/selenium-java/browsers/what-is-webdriver.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
