This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
Type safety issues with TouchActions class #7990
Open
Description
Originally reported on Google Code with ID 7990
The challenge of the builder pattern when extending the class is that the subclass must
either redefine all the methods of the parent class or the subclass will return instances
with a static type signature of the parent class.
What steps will reproduce the problem?
1. The following will fail to compile "new TouchActions(driver).click()
.singleTap(element)"
I have a pull request that fixes this bug: https://github.com/SeleniumHQ/selenium/pull/259.
I have completed the CLA agreement.
Reported by michael.m.spiegel
on 2014-10-03 01:45:05