question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I.fillField fails occasionally when form is in bootstrap modal

See original GitHub issue

i try to fill the form which is inside bootstrap 4 modal

some times the part of string is truncated or sometimes its sent as empty string to the field.

Provide console output if related. Use --verbose mode for more details.

  • 2.5.0
  • 10
  • windows 10
  • webdriverio

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
ayrshid99commented, Mar 30, 2020

i finally figured it out , it was happening because of animation i had to add implicit wait and let the animation finish.

0reactions
aesyonducommented, Nov 28, 2020

i finally figured it out , it was happening because of animation i had to add implicit wait and let the animation finish.

Yep, same applies to sweetalert, I had to add wait(1) so that the javascript click listeners will be attached.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I.fillField fails occasionally when form is in bootstrap modal
i try to fill the form which is inside bootstrap 4 modal. some times the part of string is truncated or sometimes its...
Read more >
Bootstrap modal not displaying - Stack Overflow
As Paula, I had the same problem, my modal was not showing, and I realized that my button was in a '< form...
Read more >
Locators - CodeceptJS
fillField ('Username', 'davert');. Various strategies are used to locate semantic elements. However, they may run slower than specifying locator ...
Read more >
Acceptance Tests - Codeception Docs
Sometimes it's easier to fill in all of the fields at once and send the form without clicking a 'Submit' button. A similar...
Read more >
Modal - Bootstrap
Modals use position: fixed , which can sometimes be a bit particular about its rendering. Whenever possible, place your modal HTML in a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found