WebDriver - element is not clickable Chrome

前端 未结 8 1145
攒了一身酷
攒了一身酷 2021-02-04 10:56

I have following problem. I run test on Firefox and Chrome. On Firefox test run correctly but on Chrome SauceLabs give a message:

unknown error: Element is not          


        
8条回答
  •  [愿得一人]
    2021-02-04 11:21

    I have had this problem on FF. This issue happens when your field is not in the view area. The slick way to resolve this issue is to zoom out your browser:

    TheNotClickableField.SendKeys(Keys.Control + "-" + "-");

    you might want to zoom out more or less according to your page size.

提交回复
热议问题