Closed haribabusunkari closed 1 year ago
Hi @haribabusunkari . Try restarting the backend server and imitator . i hope that works . it worked for me .
@raghunadh10 Now getting below error Trying to heal... java.lang.NoSuchMethodError: org.jsoup.nodes.Document.root()Lorg/jsoup/nodes/Node;
2022-12-01 14:32:13,626 - Failed to find an element using locator By.xpath: //input[@id='passwd'] Reason: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@id='passwd']"} (Session info: chrome=107.0.5304.122) For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'VIN0020ALKKWBNV', ip: '192.168.29.28', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_242' Driver info: org.openqa.selenium.remote.RemoteWebDriver Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 107.0.5304.122, chrome: {chromedriverVersion: 107.0.5304.62 (1eec40d3a576..., userDataDir: C:\Users\madalbh\AppData\Lo...}, goog:chromeOptions: {debuggerAddress: localhost:54374}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(manual, http=hydproxy..., se:bidiEnabled: false, se:cdp: ws://10.119.12.186:4444/ses..., se:cdpVersion: 107.0.5304.122, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true} Session ID: a66241f0e7f886155ade82800902388a *** Element info: {Using=xpath, value=//input[@id='passwd']} Trying to heal... java.lang.NoSuchMethodError: org.jsoup.nodes.Document.root()Lorg/jsoup/nodes/Node;
Hi @haribabusunkari . This issue can occur when the full clean run is not done during the first time . healenium expects a clean full succesful run to store all the locators in the backend (database) . Ensure this once . if the above issue still persists , make sure the page is loading properly ,sometimes healenium tries to find the element before the page gets loaded . so give some wait time in the scripts wherever it is necessary . Also please ensure whats happening at the issue point by using debugger mode .
working fine after adding jsoup jar file to build path instead of maven repo
Describe the problem
Not healing. Inserting data to selectors table. Failed to make response of 'selectorsRequest' request.java.net.SocketTimeoutException: timeout
Healenium Web version
3.3.0
Healenium Backend version
3.2.5
Selenium version
4.3.0
Platform
java version 1.8
Properties file
recovery-tries = 1 score-cap = .5 heal-enabled = true hlm.server.url = http://10.119.12.186:7878 hlm.imitator.url = **http://10.119.12.186:8000
Logs appeared during using Healenium
Additional context
No response