In autotesting at my job they use firefox/webdriver since the ice age, and I want to make us use chrome/cdp.
After writing some tests under the old framework I got used to the rect method, but I should make more tests under the new framework to make them see that all the stack became better, but I immediately stumble upon:
Capybara::NotSupportedByDriverError (Capybara::Driver::Node#rect)
Is this a cuprite's responsibility to implement this method?
What is the workaround while it's not fixed? getBoundingClientRect? Which class should I patch?
UPD: or is it only methods which throw the NotImplementedError that cuprite should define? I don't really get the difference in the capybara source code.
In autotesting at my job they use firefox/webdriver since the ice age, and I want to make us use chrome/cdp.
After writing some tests under the old framework I got used to the
rectmethod, but I should make more tests under the new framework to make them see that all the stack became better, but I immediately stumble upon:Is this a cuprite's responsibility to implement this method?
What is the workaround while it's not fixed?
getBoundingClientRect? Which class should I patch?UPD: or is it only methods which throw the
NotImplementedErrorthat cuprite should define? I don't really get the difference in the capybara source code.