Selenium switch to frame not working for Chrome 58
问题 After I've updated my Chrome to version 58, I cannot switch to the frame. Here is my code: driver.switchTo().frame(frameId); Tried to use another two overloaded frame() methods (that accepts index and WebElement ) - the same problem. Here is the exception: org.openqa.selenium.NoSuchFrameException: no such frame: element is not a frame (Session info: chrome=58.0.3029.110) (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.14393 x86_64)