How to Assert more complex animations like bounce or slide with Selenium WebDriver?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



How to Assert more complex animations like bounce or slide with Selenium WebDriver?



I've asserted some basic actions like: drag, drop, resize, select and sort
using text, attributes,location and cursor change.



But that doesn't work for more complex animations and I was wondering if we can assert them with Selenium webdriver - if for example an object is bouncing how can we assert that it is indeed bouncing ? How to "catch" its movement ?



Example website : http://demoqa.com/datepicker/



Pick the second tab - animations.
Choose from dropdown menu and then choose date.




1 Answer
1



You can use the same datepicker in your automation application, get the text then use sendKeys("your date") to put the date you want


sendKeys("your date")






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS