rivernews / slack-middleware-server

This server act as a middleware to communicate with Slack API.
1 stars 1 forks source link

Ability to skip a problematic page and move on #75

Closed rivernews closed 4 years ago

rivernews commented 4 years ago

Some webpage failed locating review panel, because of a bug in the webpage. No matter how much we re-try, the result is the same. Probably this is due to glassdoor using server side rendering to generate static pages so the page doesn't change until the next update cycle. But we encounter the same problems as well, so looks like the update doesn't help.

Closer look into the cause (increase survival rate)

We currently don't have any idea of tackling this to try to scrape the content

Overall approach to increase throughput

We may focus on another approach to have the ability to skip

rivernews commented 4 years ago

Click approach

There's issues when enabling click element approach - it will cause stale element reference: element is not attached to the page document. Perhaps the longer we manipulate a webelement, the more risk we will get this error. To mitigate this:

rivernews commented 4 years ago

Infinite Job

rivernews commented 4 years ago

We approach this by bringing in click approach again, and put it after guess url approach. No error reported again.