Find Jobs
Hire Freelancers

Add functionality to Selenium project (Python)

$10-30 USD

Completed
Posted about 10 years ago

$10-30 USD

Paid on delivery
Hi all. My client is using Python implementation of Selenium, and would like to add a functionality that is missing in the Python implementation (but exists in the Java implementation) My client would like to implement the functionality of CTRL+F5 in the running browser. That is, reload the existing page without cache. Current Python Selenium can perform refresh action (F5) only, meaning a running browser will query the server for “if-modyfied-since” type of query (response code 304). We’re after a complete reload. If you have experience with Selenium, it is a great advantage ! This is a small project, but if our client is happy with the results, we can assume we will see more work from him. Do’s and don’ts : Please don’t implement this feature by sending keystroke sequence. It will not work if the running browser if not in focus, or for more than single running instance. We have tried it. Try to implement in python just like to JAVA implementation ([login to view URL]().refresh()) Current implementation with “refresh” [login to view URL]('http://testwebsite')- > server shows response code 200 [login to view URL]() – > server shows response code 304 Code MUST be highly documented. every line commented ! Acceptance criteria : [login to view URL]('http://testwebsite')- > server shows response code 200 [login to view URL]() - > server shows response code 200 Example code performing the current implementation: import os,time from selenium import webdriver from [login to view URL] import Keys chromedriver = "\PATH_TO_CHROMEDRIVER\[login to view URL]" [login to view URL]["[login to view URL]"] = chromedriver driver = [login to view URL](chromedriver) [login to view URL]('http://testwebsite') [login to view URL](1) [login to view URL]() [login to view URL](1) [login to view URL]() references: [login to view URL] [login to view URL] [login to view URL] Good Luck, Andrew
Project ID: 5549701

About the project

3 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, A few questions: - did you try to get currently open handles? Did that fail? - the option would be to clear everything using individual methods - clear cookies/clear history/ cache. - do you have a particular use case for this? Why is this needed? Is it the best solution? Looking forward to your reply, Arthur
$24 USD in 1 day
4.9 (57 reviews)
6.1
6.1
3 freelancers are bidding on average $62 USD for this job
User Avatar
I am expert in selenium webdriver and have worked extensively with it both in Java and Python. I analyzed your problem and looks like in python we need to change headers using command executer. This will be tough to do. A rather simpler solution would be to use javascript in selenium Are you sure that it is not Chrome bug? Can you try it on firefox, looks it is a chrome bug.
$60 USD in 1 day
4.8 (7 reviews)
4.4
4.4
User Avatar
Hi, I have experience in working with selenium, mostly on Java. Also I have experience working on Python. I will extend the driver classes to add this functionality. Do you want to have this functionality for chrome only or for other browsers too? Please note 30 USD is too low for this task. I have bid for about 100 USD but we can negotiate on this. My work timings are between 10 PM IST to 3 AM IST. Feel free to message me for further discussion on this. Regards, viraniac
$111 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ISRAEL
Tel aviv, Israel
5.0
59
Payment method verified
Member since Aug 30, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.