Zhimin Zhan
Feb 18, 2022

--

I have written (and maintained) thousands of AJAX (async, dynamic JS ) operations (Angular, React, Ruby on Rails, ...). It is very easy with raw Selenium WebDriver in Ruby.

Selenium Explicits Waits works. However, using Ruby's block is neater (fast, easy, flexible).

Checkout this article: "Test AJAX Properly and Efficiently with Selenium WebDriver, and Avoid ‘Automated Waiting’"

https://medium.com/swlh/test-ajax-properly-and-efficiently-with-selenium-webdriver-and-avoid-automated-waiting-da3ad878559c

--

--

Zhimin Zhan
Zhimin Zhan

Written by Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.

No responses yet