Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code running multiple time #515

Open
yonis65 opened this issue Feb 23, 2022 · 0 comments
Open

Code running multiple time #515

yonis65 opened this issue Feb 23, 2022 · 0 comments

Comments

@yonis65
Copy link

yonis65 commented Feb 23, 2022

Hello, I have a simple function that just opens a browser, goes to a link, scrapes the HTML, and closes (FUNCTION A).
There is another function (FUNCTION B) that gets the result of function A and does something with that.
In my code, the function b runs 2 times. The problem is that my code is being run multiple times. I added a simple log and I am expecting something like that:

START #1
END #1
START #2
END #2

but what I get is:

START #1
START #1
START #2
END #1
START #2
START #1
START #2
END #2

there are opening just 2 browsers so for that there are no problems but the thing is that is running all the code in a strange way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant