selenium chrome: calenda time

发布时间 2023-09-13 09:55:26作者: 胖妞麻麻

1. selenium chrome: calenda time

 

 

And input created time from "2023-07-01 17:19"
@step('input created time from "{Keyword}"')
def step_impl(context, Keyword):
context.resourceCataloguePage.created_time_input_start_date(Keyword)

def created_time_input_start_date(self, value):
self.find_element_and_send_keys(Elements.created_time_start_date, Keys.COMMAND + 'a')
self.find_element_and_send_keys(Elements.created_time_start_date, Keys.DELETE)
self.find_element_and_send_keys(Elements.created_time_start_date, value)