Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Unable to call "browser.attach" multiple times #1203

Open
aik099 opened this issue Mar 13, 2020 · 0 comments
Open

Unable to call "browser.attach" multiple times #1203

aik099 opened this issue Mar 13, 2020 · 0 comments

Comments

@aik099
Copy link

aik099 commented Mar 13, 2020

In contrast to browser.fill I can't call browser.attach multiple times.

On 2nd+ call to browser.attach method I'm getting Cannot redefine property: value error from Zombie. This happens, because in

Object.defineProperty(field, 'value', {value: filename});
the value property of the element is defined in any case and not only, when it's absent.

Using Zombie 6.1.4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant