This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| => "x=twowords&y=twowords" | |
| >> q = "x=two+words&y=two%20words" | |
| => "x=two+words&y=two%20words" | |
| >> CGI.unescape(q) | |
| => "x=two words&y=two words" | |
| >> URI.unescape(q) | |
| => "x=two+words&y=two words" | |
| >> CGI.unescape(q).gsub(' ', '') | |
| => "x=twowords&y=twowords" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Page | |
| # include IknowNavigationHelper #NOTE - This must precede SeleniumTestHelper or else test setup will fail | |
| # include SeleniumTestHelper | |
| def initialize(driver, test_case) # method that passes the selenium object | |
| @driver = driver | |
| @test = test_case | |
| setup_instance_elements(driver) | |
| end |