Foreword
If a Web page using a frame, when you use the Selenium positioning elements need to switch to the corresponding frame, otherwise it will not require the positioning element.
Switch to the frame to be switched
driver.switchTo().frame();
Switch back to the original frame
driver.switchTo().defaultContent();