webdriver is not able to click on a hyperlink in firefox

后端 未结 6 2098
不思量自难忘°
不思量自难忘° 2021-01-16 23:01
package testproject;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.         


        
6条回答
  •  星月不相逢
    2021-01-16 23:42

    The XPATH in the code is DIV element but you want to click on ANCHOR Gmail So update the xpath for ANCHOR and click on it.

提交回复
热议问题