qahive / robotframework-puppeteer

Puppeteer Web testing library for Robot Framework
Apache License 2.0
56 stars 14 forks source link

"Get Element Count" should not throw exception if can't find any element in a page #138

Closed atthaboon closed 2 years ago

atthaboon commented 2 years ago

Describe the bug Get element count that didn't exist in current page will cause exception

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. {count} = Get Element Count id=not_exists

Expected behavior Should return 0