Hello,
Fair warning: I'm a beginner at Ruby and am taking on my first browser automation project with Selenium and Rubymine on Windows 10. To log into my website of choice, I believe I need to switch_To an iFrame where I can enter username and password, but I receive an error when I try to do so. See below for code and error message:
Relevant line of code:
driver.switch_To.frame driver.find_element(id: "content")
relevant error:
in `<top (required)>': undefined method `switch_To' for #<Selenium::WebDriver::Chrome::Driver:0x0000000003c903a8> (NoMethodError)
from -e:1:in `load'
from -e:1:in `<main>'
Any suggestions on what to do?