0

クリックする要素が使用可能になる前に、メニューにカーソルを合わせる必要があります!

Element is not currently visible and so may not be interacted with (WARNING: The server did not provide any stacktrace information)セレンのエラー

私はこれを試しました:

action.moveToElement(WebElement1);
action.moveToElement(WebElement2);      
action.click();
action.perform();
4

4 に答える 4

0

このコードは私のために働いた:

  private Actions builder; 
  builder = new Actions(driver);        
  builder.moveToElement(Elel).build().perform();
于 2013-07-24T07:39:31.873 に答える
0

以下を試してください、

        Actions actions = new Actions(driver);
        Action action1 = actions.moveToElement(webElement1).build();
        action1.perform();
        Action action2 = actions.moveToElement(webElement2).click().build();
        action2.perform();
于 2013-07-24T08:29:14.000 に答える