browser-use icon indicating copy to clipboard operation
browser-use copied to clipboard

[Question]How to integrate with pytest

Open landhu opened this issue 1 year ago • 2 comments

From sample, I did't find any demo about how to intergrate with pytest.

I want like following:

  1. setup: setup Broswer() and a agent about open a url
  2. testcase1: agent2 (use setup broswer), do some test, last using pytest's assert to verfication case
  3. testcase2: same as testcase1
  4. ....
  5. finally, can work with allure report attach playwright record video.

landhu avatar Jan 03 '25 01:01 landhu

I am also looking for the answer.

achatap avatar Jan 08 '25 18:01 achatap

I understand that this issue was first and was, therefore inherently not a duplicate at the time, but I am closing it in favor of #219 by @MagMueller as it is more detailed/actionable and provides opportunities to the community to receive API credits for contributing, so I think it has a better chance of resulting in a PR that addresses this. If you disagree feel free to reach out via the Discord server or open an issue :) Thank you for raising this issue.

Cfomodz avatar Feb 21 '25 19:02 Cfomodz