rta_booking_information icon indicating copy to clipboard operation
rta_booking_information copied to clipboard

Add Driver Knowledge Test (DKT)

Open vmlrodrigues opened this issue 2 years ago • 1 comments

Would be awesome if you could add the Driver Knowledge Test (DKT) to the daily upload too. I've tried to make the changes but unable to test as RTA keeps blocking my IP.

Should hopefully be simple to do. A few changes to index.html to link to the DKT bookings page and then an additional parameter to scrape_availability.py to be able to select the DTK, KC instead of DC.

driver.find_element(By.XPATH,"//fieldset[@id='KC']/span[contains(@class, 'rms_testItemResult')]").click()

vmlrodrigues avatar Jul 17 '22 03:07 vmlrodrigues

I was planning to do this until RTA website blocked my home network. Essentially, this has to be implemented as a config setting, a different result file (eg. result_dkt.json) and a front end toggle to show different test availabilty.

sbmkvp avatar Jul 18 '22 02:07 sbmkvp