module-webdriver icon indicating copy to clipboard operation
module-webdriver copied to clipboard

Error: Element <...> could not be scrolled into view

Open ThomasLandauer opened this issue 2 years ago • 4 comments

I'm "suddenly" getting this in many tests in Firefox (haven't tried with Chrome yet):

[Facebook\WebDriver\Exception\ElementNotInteractableException] Element <...> could not be scrolled into view

Is anybody else observing this? My current workaround: What used to be just $I->click(...); is now:

$I->scrollTo('someNearbyElement');
$I->wait(0.5); // Some arbitrary number. I tried with `$I->waitForElementClickable()` but it isn't working :-(
$I->click(...);

geckodriver 0.30.0 with Firefox 99.0

ThomasLandauer avatar Apr 24 '22 19:04 ThomasLandauer