Skip to content
Snippets Groups Projects

Resolve #3457244 "Fix js tests"

1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -235,7 +235,11 @@ class FloatTest extends WebDriverTestBase {
* Data about the element's location, including the X and Y position.
*/
protected function getElementPosition(string $xpath): array {
return $this->getSession()->getDriver()->getWebDriverSession()->element('xpath', $xpath)->location();
return $this->getSession()
->getDriver()
->getWebDriverSession()
->element('xpath', $xpath)
->rect();
}
}
Loading