etaoin

william 2021-06-19T14:14:40.001700Z

hey guys, question: how can use etaoin to retrieve informations from part of a page I'm interested in? It seems that the API exposes the functionalities for clicking and filling forms, and I can otherwise use query and query-all to find a unique id. But how could I use the unique id to read more data from the referenced element?

🙌 1
william 2021-06-19T14:35:38.002300Z

ok, solved, the function I was looking for was get-element-inner-html-el and the related functionality 🙂

gklijs 2021-06-19T14:37:56.003600Z

There is also wait-has-text that might be useful, see for example https://github.com/gklijs/open-bank-mark/blob/d674dddbf0e04aa9253f1e131d9049275d5b7bdc/test/src/nl/openweb/test/interactions.clj#L18.

🙌 1