Open aik099 opened 4 years ago
In contrast to browser.fill I can't call browser.attach multiple times.
browser.fill
browser.attach
On 2nd+ call to browser.attach method I'm getting Cannot redefine property: value error from Zombie. This happens, because in https://github.com/assaf/zombie/blob/5245de7b32974bcce0dd955cc70a0eda34ee97fe/src/index.js#L902 the value property of the element is defined in any case and not only, when it's absent.
Cannot redefine property: value
value
Using Zombie 6.1.4.
In contrast to
browser.fill
I can't callbrowser.attach
multiple times.On 2nd+ call to
browser.attach
method I'm gettingCannot redefine property: value
error from Zombie. This happens, because in https://github.com/assaf/zombie/blob/5245de7b32974bcce0dd955cc70a0eda34ee97fe/src/index.js#L902 thevalue
property of the element is defined in any case and not only, when it's absent.Using Zombie 6.1.4.