This is a PR to fix the bug I was getting when the .pv-accomplishments-block.courses button was not visible and thus not able to be clicked. It is related to a puppeteer issue: https://github.com/puppeteer/puppeteer/issues/2977.
The fix was simply to wrap the .click() into the page.evaluate() function. This also allows the removal of the timeout/wait.
Fixes #101.
This is a PR to fix the bug I was getting when the
.pv-accomplishments-block.courses
button was not visible and thus not able to be clicked. It is related to a puppeteer issue: https://github.com/puppeteer/puppeteer/issues/2977.The fix was simply to wrap the
.click()
into thepage.evaluate()
function. This also allows the removal of the timeout/wait.