It should be added some method which will add "\" before ' or " to avoid of having issue with parsing when chain is created(line:672), as we might to catch situation:
"name == 'I don't want'"
which is causing mentioned by me error.
Tested on WebDriverAgent - a10768631110f4b7c2d7ca328a9f11186464ae35
If we will will want to get objects with ' or " character we observe WDAError(status 13): session(text="don't")
I think in line 600: https://github.com/openatx/facebook-wda/blob/master/wda/__init__.py
It should be added some method which will add "\" before ' or " to avoid of having issue with parsing when chain is created(line:672), as we might to catch situation: "name == 'I don't want'" which is causing mentioned by me error. Tested on WebDriverAgent - a10768631110f4b7c2d7ca328a9f11186464ae35