Fix issue when different implementation of WebDriver was used in code.

The way the drone is enhanced by this extension is just simply creating
a delegate, but when user uses different implementation of WebDriver in
code, the drone won't be able to be injected, because of incompatible
types.