You have two buttons with given xpath on this page, first is not visible, thats why you are getting ElementNotVisibleException
One is under <div class="loginPopup">
Second (the one you need) is under <div class="page">
So change your xpath to look like this, and it will fix your problem:
By.xpath("//div[@class='page']//div[@id='_loginButton']")
Related Posts:
- element not interactable exception in selenium web automation
- Wait for page load in Selenium
- How to get locator of current web element?
- Call a Class From another class
- How to open a new tab using Selenium WebDriver in Java?
- Test if element is present using Selenium WebDriver?
- MacOS Catalina(v 10.15.3): Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser
- stale element reference: element is not attached to the page document
- Selenium — How to wait until page is completely loaded
- Chrome Error: You are using an unsupported command-line flag: –ignore-certifcate-errors. Stability and security will suffer
- Selenium using Java – The path to the driver executable must be set by the webdriver.gecko.driver system property
- javac is not recognized as an internal or external command, operable program or batch file [closed]
- What is a StackOverflowError?
- How to uninstall Eclipse?
- How do I determine whether an array contains a particular value in Java?
- How can I solve Exception in thread “main” java.lang.NullPointerException error [duplicate]
- How to replace � in a string
- How to decrypt a SHA-256 encrypted string?
- What’s the C++ version of Java’s ArrayList
- Bad Operand Types for Binary Operator “>”?
- Error occurred during initialization of boot layer FindException: Module not found
- Iterate through a HashMap [duplicate]
- Java optional parameters
- Why would a “java.net.ConnectException: Connection timed out” exception occur when URL is up?
- ‘mvn’ is not recognized as an internal or external command, operable program or batch file
- How to use multiple classes in java in one file?
- Java: Multiple class declarations in one file
- Why do JVM arguments start with “-D”?
- How to split a string in Java
- Example of O(n!)?
- A message body writer for Java class java.util.ArrayList and MIME media type application/json was not found
- How to efficiently remove duplicates from an array without using Set
- How to master Java?
- Understanding the difference between null and ‘\u000’ in Java
- How do you make a deep copy of an object?
- what does Dead Code mean under Eclipse IDE Problems Section
- java, get set methods
- How to solve DB2 SQL Error: SQLCODE=-407, SQLSTATE=23502
- Javadoc @see or {@link}?
- Remote debugging a Java application
- What’s the difference between next() and nextLine() methods from Scanner class?
- How to identify object types in java
- Insert Dimensions to complete Expression/ReferenceType
- Unable to locate tools.jar
- Possible lossy conversion from double to float, given float values?
- how to fix EXE4J_JAVA_HOME, No JVM could be found on your system error?
- Error: ‘else’ without ‘if’
- How to create a custom exception type in Java?
- Error: JavaFX runtime components are missing, and are required to run this application with JDK 11
- Extracting .jar file with command line
- UnsatisfiedDependencyException: Error creating bean with name
- Change priorityQueue to max priorityqueue
- Only using @JsonIgnore during serialization, but not deserialization
- Cannot change version of project facet Dynamic Web Module to 3.0?
- InvalidKeyException Illegal key size
- JOptionPane YES NO OPTION
- How to check if a String is numeric in Java
- How to get today’s Date?
- Creating a random string with A-Z and 0-9 in Java
- java.lang.ArithmeticException: / by zero
- How can I convert a .jar to an .exe?
- How to fix “error: bad operand types for binary operator ‘||’ ” in java
- “The system cannot find the file C:\ProgramData\Oracle\Java\javapath\java.exe”
- Counting an Occurrence in an Array (Java)
- When is the finalize() method called in Java?
- Java “user.dir” property – what exactly does it mean?
- it throws me error incompatible types: unexpected return value — return 10; please correct it make note where i am doing wrong code?
- Caused by: java.security.UnrecoverableKeyException: Cannot recover key
- Inverse Logistic Function / Reverse Sigmoid Function
- addMouseListener for a JPanel
- What is the difference between an Abstract Data Type(ADT) and a Data Structure?
- What is the jasperrepots-fonts jar for and how to use it?
- Does Java have an StringStream equivalent?
- Difference between String replace() and replaceAll()
- How do I get the size of a java.sql.ResultSet?
- Java: How to set Precision for double value?
- Any way to declare an array in-line?
- java.io.StreamCorruptedException: invalid stream header: 54657374
- How to cast ArrayList<> from List<>
- Best way to “negate” an instanceof
- How to return nothing from a function that returns value?
- Java simple code: java.net.SocketException: Unexpected end of file from server
- What is the best Java email address validation method?
- Set Date in a single line
- why android studio show error of “Missing constraints in constraintlayout”?
- Change the size of a JTextField inside a JBorderLayout
- java.lang.ArrayIndexOutOfBoundsException: 0
- What’s wrong with overridable method calls in constructors?
- what is the difference between doGet() and doPost() in term of the flow?
- Java 3D Game Engine?
- How to cast ArrayList<> from List<>
- java.util.ConcurrentModificationException with iterator
- How to read file from relative path in Java project? java.io.File cannot find the path specified
- How can I view and edit specific aspects of playerdata from my Minecraft server?
- String index out of bounds exception java
- Javadoc @author tag good practices
- A fatal error has been detected by the Java Runtime Environment: SIGSEGV, libjvm
- java.lang.IllegalStateException: Failed to introspect Class
- ShoppingCart.Java Program Assignment
- White spaces are required between publicId and systemId