bot

Source Code: additional.py


def booking_count():
     #     cz=ec.visibility_of_element_located((By.CSS_SELECTOR,'button[class="fc63351294 a822bdf511 e3c025e003 fa565176a8 f7db01295e c334e6f658 e1b7cfea84 d64a4ea64d"]'))
     #     adult_btn=wait.until(cz)
     #     time.sleep(0.1)
     #     div_element2 = self.find_element(By.CLASS_NAME,"b2b5147b20")
     #     class_div=child_btn=div_element2.find_element(By.CLASS_NAME,"e98c626f34")
     #     child_btn=class_div.find_element(By.CSS_SELECTOR,"button.fc63351294.a822bdf511.e3c025e003.fa565176a8.f7db01295e.c334e6f658.e1b7cfea84.d64a4ea64d")
     #     child_btn.click()
         
          # Find the <div> element by class name

     #     div_child=self.find_element(By.CLASS_NAME,'b2b5147b20')
     #    #  children_btn=div_child.find_element(By.CSS_SELECTOR,(By.CSS_SELECTOR,'button[class="fc63351194 a822bdf511 e3c025e003 fa565176a8 f7db01295e c334e6f658 e1b7cfea84 d64a4ea64d"]'))
     #    #  children_btn=wait.until(cz)
     #     children_btn = div_child.find_element(By.CSS_SELECTOR, 'button.fc63351194.a822bdf511.e3c025e003.fa565176a8.f7db01295e.c334e6f658.e1b7cfea84.d64a4ea64d')

     #     while(child):
     #          children_btn.click()
     #          time.sleep(0.02)
     #          child-=1
     #     time.sleep(0.1)

     #     room_btn=self.find_element(By.CSS_SELECTOR,'button[class="fc63351294 a822bdf511 e3c025e003 fa565176a8 f7db01295e c334e6f658 e1b7cfea84 d64a4ea64d"]')
     #     if(rooms==1):
     #          print("rooms adjusted")
     #     else:
     #          while(rooms):
     #               room_btn.click()
     #               time.sleep(0.02)
     #               rooms-=1
     #          print("rooms adjusted")