First time poster so apologies if I’m breaking some guidelines. I’m teaching myself Java/Selenium/Chromedriver and I’ve hit the first problem that I haven’t been able to work out myself. I’ll do my best to represent it below but please ask for more info if I haven’t included what I needed to! Here is the test: As you can see, I
Tag: selenium-chromedriver
Exception in thread “main” java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap error using Selenium Java
Code trials: Error: Error snapshot: Answer This error message… …implies that the file com/google/common/collect/ImmutableMap might be corrupted or there is some incompatibility between the version of the binaries you are using. Further you need to take care of a couple of things as follows: Instead of storing the chromedriver.exe binary right under C: try to put it within a directory
ajax search and scraping prices of bus page // maybe selenium?
I am trying to get prices of routes on a bus page import requests from bs4 import BeautifulSoup import re this is the link https://new.turbus.cl/turbuscl/inicio-compra So right now I am able to find the input boxes of the search, but not sure were to run it. I am getting this error ValueError: too many values to unpack (expected 2) so
This version of ChromeDriver only supports Chrome version 99 Current browser version is 98.0.4758.102
My current chrome version : 98.0.4758.102 My current selenium version: 4.1.1 and cannot download chrome 99. My chrome 98 is updated to the last version, how do I get chrome 99 assuming it’s a beta version? Trace log : Answer Starting ChromeDriver 99.0.4844.51 Current browser version is 98.0.4758.102 Your chrome driver is for chrome version, which is not out yet.
Stale element just after Find
I’m using ChromeDriver in Groovy, for clarification. I know that you usually can get a Stale Element Exception if you save an element, the page changes and then you try to access it. But my problem is that I sometimes at random get that error when i literraly just obtained it. My code looks something like this: And it’s on
addArguments(java.lang.String… arguments) method of ChromeOptions is giving error
For the below code of setting chromeoptions using addArguments() method is giving following error Code: This code was working fine with older version of Selenium dependency but now i upgraded all my dependencies to new versions for some reasons and it’s not working Selenium Dependencies: build.gradle: Java version I’m using: Chrome Version: Chrome Driver Version: Answer You miss the following
Pause code execution if progress bar is displayed
I use this code to pause code execution: Unfortunately the html code is changed this way: I tried to implement this code” But the code execution is not paused. Can you advise how to implement his properly? Answer See if this xpath works.
JAVA – How to replace string in a binary file (.exe) using regex pattern [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I need to read a file named “chromedriver.exe” and replace all the occurrences of a string that starts with “cdc_” and is 26 characters long.
AWS Lambda not finding Shared Object File in Layer
I’m trying to create a Lambda function that runs Selenium tests in Java as part of a CI/CD pipeline in AWS. However, after the function installs Chromedriver, it fails because a .so file that Chromedriver requires is missing: I have read that you can include native libraries via Software Layers in Lambda, and I understand that you have to compile
My Chrome version is Version 84.0.4147.105 but available ChromeDriver version is Version 84.0.4147.30 causing an error to launch chrome using Selenium
My chrome version is Version 84.0.4147.105 but available chrome version is Version 84.0.4147.30 its causing an error to launch chrome through selenium what should i do apart from downgrading the chrome version . Answer The latest stable ChromeDriver is ChromeDriver 84.0.4147.30. This version of ChromeDriver is well tested for all the minor versions of google-chrome Version 84.x.y.z. Conclusion Irespective of