Closed robertgates55 closed 8 years ago
Since you have no problem with compilation and runtime execution it looks like some problems within IDE.
There is new getRect
method has been added to WebElement
. You can see it here. So, if you are using Selenium 2.53
you should implement getRect
or use older version of Selenium or just ignore this warning
@artkoshelev what is your opinion ?
Thank you, @pazone i just missed that change when checking it in selenium codebase. I thing we should support it in the next version, so PR's are welcome =)
Is it possible to do a new release now that this issue has been fixed and merged? Or is there some way to get the latest snapshot in maven?
Had you tried 1.16-SNAPSHOT version?
I've tried, but unfortunately got the following: Could not find artifact ru.yandex.qatools.htmlelements:htmlelements-java:jar:1.16-SNAPSHOT -> [Help 1]
As you can see It's available in sonatype repo, so check your maven settings.
I added the following to the pom and it's working now, many thanks.
<repository>
<id>oss-sonatype</id>
<name>oss-sonatype</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
I recently updated versions on my test framework, and my HtmlElements classes are now displaying the error:
class 'Blah.class' must either be declared abstract or implement abstract method 'getRect()' in 'WebElement'
I'm running latest selenium release and 1.15 of htmlelements - any ideas what's happened or how to resolve? Tests are still running fine, but my IDE (IntelliJ) is showing the class as errorring.