Simple Note
Just created a simple html page and test case to memo frequently used selenium functions, including click element, get or set value/attributes/css class, run javascript, do ajax call, handle alertbox/confirmbox and iframe.
(Basically, you can do most of things with driver.execute_script if you are familiar with JavaScript)
For more information, please refer to selenium_methods_test.rb below.
Added / Updated Files
test_helper.rb
selenium_methods_test.rb
vendor / html / *
No comments:
Post a Comment