1

Steps which cause the problem:

  1. Search for some element in the page via Chrome Dev Tools using css selector — it has results.
  2. Remove this element (in any way) (NOT CLOSING search by css selector panel). search again using the same selector — it has no results
  3. Restore this element (in any way, e.g. ctrl+Z) (NOT CLOSING search by css selector panel again).
  4. Search again using the same selector - it has NO results, that's is issue.
  5. Reopen panel or adding/removing space to the selector or any other manipulation — it has results again.

The same behaviour observed in chromedriver. That's because test fails.

The question: How can I achive the correct search by css selectors using chromedriver?

2
  • If that is supposed to be a question, then “It is raining today” would be one as well.
    – C3roe
    CommentedJun 27, 2018 at 11:55
  • Sounds like a bug in devtools/chromedriver.
    – woxxom
    CommentedJun 27, 2018 at 12:18

1 Answer 1

0

You can't avoid it. But you can file a bug report so the team can triage the problem and resolve it.

    Start asking to get answers

    Find the answer to your question by asking.

    Ask question

    Explore related questions

    See similar questions with these tags.