fix screenshotting code, and simplify check page load
fix screenshotting code, and simplify check page load

pythonanywhere/dirigible-spreadsheet,pythonanywhere/dirigible-spreadsheet,jmptrader/dirigible-spreadsheet,jmptrader/dirigible-spreadsheet,pythonanywhere/dirigible-spreadsheet,jmptrader/dirigible-spreadsheet