• Automation

    Mouse hover action in Selenium

    The below code will show you how to hover on an item (Logout WordPress blog).

    Test steps:

    1. Go to http://localhost/selenium-digitest/wp-login.php
    2. Enter username: “admin”
    3. Enter password: “123456”
    4. Click Login
    5. Hover on admin main bar at top
    6. Select Log out.