CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 8: CSE: SeU Certified Selenium Engineer with Java

Given the following HTML snippet for a drop-down list: (Assume driver as WebDriver.) AND the following Java code for this drop-down identification: Which of the following would be the NEXT code instructions to select the drop-down option with text “Audi”?

Nội dung câu hỏi

Given the following HTML snippet for a drop-down list: (Assume driver as WebDriver.) AND the following Java code for this drop-down identification: Which of the following would be the NEXT code instructions to select the drop-down option with text “Audi”?

Minh họa câu hỏi Minh họa câu hỏi

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.

  1. A. Select cars = new Select(elem);cars.findElement(by).selectByVisbileText(‘Audi’);
  2. B. Select cars = new Select(elem);cars.selectByVisbileText(‘Audi’); — đáp án hiện tại
  3. C. elem.sendKeys(“Audi”);
  4. D. elem.click();driver.findElement(by).click();

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.

Câu hỏi liền kề