Closed raghunadh10 closed 1 year ago
Hi @raghunadh10 , First off, Healenium doesn't handle js scripts (executeScript method), it means there is no healing during call this one. So, if you want to use executeScript method of SelfHealing instance anyway, you should get delegate driver: ((RemoteWebDriver) hlmDriver.getDelegate()).executeScript()
Hi @Alex-Reif . its fine now . thanks for the help .
Describe the bug
Hi team, we have tried to implement healenium in our custom framework for maven project .In this custom framework , we have implemented our own driver class which implements the original WebDriver class . the issue we have come across is , on the method which involves the execute javascript method (executeScript(args)) is not working after converting the normal webdriver to healenium web driver . The error it is throwing is " class cast exception "
How to reproduce the issue
Logs appeared during using Healenium
Expected behavior
No response
Actual behavior
No response
Healenium Web version
3.3.0
Healenium Backend version
3.2.3
Selenium version
4.1.1
Platform
Java
Properties file
recovery-tries = 1 score-cap = 0.5 heal-enabled = true hlm.server.url = http://localhost:7878 hlm.imitator.url = http://localhost:8000 reportPath=build/reports screenshotPath=build/screenshots/
Additional context
No response