Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

252
Views
How to activate loader page while running selenium code in python

I am creating a python flask web application with selenium in the backed I want to disable my webpage when the selenium driver is running to prevent user activity

I am using this code

<div id="disabler">
    <div class="text-center">
        <img src="{{url_for('static', filename='images/disabler.gif')}}">
        <p id="preloader-text">Running Automated Test</p>
    </div>
</div>

<script>
    function loader(){
        $(document).ready(function(){
            $("#disabler").fadeOut()
        });
    }
</script>
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

When you are using new tab every time then it is not possible to hide. You can just put always on top feature for chosen window.

about 4 years ago · Juan Pablo Isaza Report

0

You can use a predefined jQuery UI called jQuery Block UI

Or simply add a division that will block the body and will fade out when the body is loaded.

<div id="div">
    <h1>Please Wait..</h1>
</div>

jQuery will be:

$(document).ready(function(){
    $("#div").fadeOut()
  });
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!