[Webkit-unassigned] [Bug 212521] There is nothing happens after click() on elements inside of <footer> html using Selenium WebDriver.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 13 10:11:31 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=212521

f-gu at prolikewoah.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |f-gu at prolikewoah.com

--- Comment #1 from f-gu at prolikewoah.com ---
This occurs when the element is located off-screen when the page loads; click() works fine for elements that are already on screen but if it requires scrolling, it will scroll but not click.

Here's a full example demonstrating this:

        public static void main(String[] args) {
                WebDriver driver = new SafariDriver();
                driver.manage().window().fullscreen();
                driver.get("https://github.com/SeleniumHQ/selenium/issues?q=safari");
                driver.findElement(By.cssSelector("a[data-ga-click='Footer, go to help, text:help']")).click();
                System.out.println("Expected: 'https://help.github.com/'\nActual  : '" + driver.getCurrentUrl() + "'");
                driver.close();
        }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200713/fce74a31/attachment-0001.htm>


More information about the webkit-unassigned mailing list