Câu 12: CSE: SeU Certified Selenium Engineer with Java
Which of the following method calls is the BEST option to exit all browser windows opened in a browser session? (Assume driver as a WebDriver object.)
Nội dung câu hỏi
Which of the following method calls is the BEST option to exit all browser windows opened in a browser session? (Assume driver as a WebDriver object.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. driver.quitWindowHandles()
- B. driver.close()
- C. driver.quit() — đáp án hiện tại
- D. driver.closeWindowHandles()
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.