DrissionPage icon indicating copy to clipboard operation
DrissionPage copied to clipboard

how to click on an item of list !

Open amirwwe619 opened this issue 1 year ago • 12 comments

Assuming the following <select> elements, the following example is based on this:

<select id='s' multiple>
    <option value='value1'>text1</option>
    <option value='value2'>text2</option>
    <option value='value3'>text3</option>
</select>

how do I click on text2? I don't want to use select() function , I need to click on it so some ajax data would load afterward

amirwwe619 avatar Aug 24 '23 16:08 amirwwe619

you could use

ele = page.ele(text2)
ele.click()

Krylanc3lo avatar Aug 24 '23 22:08 Krylanc3lo

<option> elements cannot be clicked, but select() method triggers onChange action. If this doesn't work, I'll try the onClick action in the next version.

g1879 avatar Aug 24 '23 23:08 g1879

I have the same issue. In my case, if a normal user clicks on an option, a network call is triggered which updates the options available in following lists. But using select nothing happens.

taghizad3h avatar Aug 28 '23 08:08 taghizad3h

I have the same issue. In my case, if a normal user clicks on an option, a network call is triggered which updates the options available in following lists. But using select nothing happens.

Can you send me the web address for testing? Every website I've ever used has been triggered correctly.

g1879 avatar Aug 28 '23 09:08 g1879

I have the same issue. In my case, if a normal user clicks on an option, a network call is triggered which updates the options available in following lists. But using select nothing happens.

Can you send me the web address for testing? Every website I've ever used has been triggered correctly.

image

url: https://it-ir-appointment.visametric.com/en path: [Study button] -> ● OK -> ● Iran ->[Get Appointment button]

amirwwe619 avatar Aug 31 '23 08:08 amirwwe619

I have the same issue. In my case, if a normal user clicks on an option, a network call is triggered which updates the options available in following lists. But using select nothing happens.

Can you send me the web address for testing? Every website I've ever used has been triggered correctly.

image

url: https://it-ir-appointment.visametric.com/en path: [Study button] -> ● OK -> ● Iran ->[Get Appointment button]

"Sorry, you have been blocked You are unable to access visametric.com"

I can't access the site.

g1879 avatar Sep 04 '23 02:09 g1879

I have the same issue. In my case, if a normal user clicks on an option, a network call is triggered which updates the options available in following lists. But using select nothing happens.

Can you send me the web address for testing? Every website I've ever used has been triggered correctly.

image url: https://it-ir-appointment.visametric.com/en path: [Study button] -> ● OK -> ● Iran ->[Get Appointment button]

"Sorry, you have been blocked You are unable to access visametric.com"

I can't access the site.

The correct site url is : https://ir-appointment.visametric.com/en

mehran-sfz avatar Sep 05 '23 22:09 mehran-sfz

I have the same issue. In my case, if a normal user clicks on an option, a network call is triggered which updates the options available in following lists. But using select nothing happens.

Can you send me the web address for testing? Every website I've ever used has been triggered correctly.

image url: https://it-ir-appointment.visametric.com/en path: [Study button] -> ● OK -> ● Iran ->[Get Appointment button]

"Sorry, you have been blocked You are unable to access visametric.com" I can't access the site.

The correct site url is : https://ir-appointment.visametric.com/en

我这里还是不能使用这个网站。

g1879 avatar Sep 06 '23 01:09 g1879

I have the same issue. In my case, if a normal user clicks on an option, a network call is triggered which updates the options available in following lists. But using select nothing happens.

Can you send me the web address for testing? Every website I've ever used has been triggered correctly.

image url: https://it-ir-appointment.visametric.com/en path: [Study button] -> ● OK -> ● Iran ->[Get Appointment button]

"Sorry, you have been blocked You are unable to access visametric.com" I can't access the site.

The correct site url is : https://ir-appointment.visametric.com/en

我这里还是不能使用这个网站。

would you mind give me a way of communication so that I can easily stay in touch with you : like Telegram, what's app or anything ?

mehran-sfz avatar Sep 06 '23 07:09 mehran-sfz

I have the same issue. In my case, if a normal user clicks on an option, a network call is triggered which updates the options available in following lists. But using select nothing happens.

Can you send me the web address for testing? Every website I've ever used has been triggered correctly.

image url: https://it-ir-appointment.visametric.com/en path: [Study button] -> ● OK -> ● Iran ->[Get Appointment button]

"Sorry, you have been blocked You are unable to access visametric.com" I can't access the site.

The correct site url is : https://ir-appointment.visametric.com/en

我这里还是不能使用这个网站。

would you mind give me a way of communication so that I can easily stay in touch with you : like Telegram, what's app or anything ?

I only have WeChat.

g1879 avatar Sep 06 '23 08:09 g1879

I have the same issue. In my case, if a normal user clicks on an option, a network call is triggered which updates the options available in following lists. But using select nothing happens.

Can you send me the web address for testing? Every website I've ever used has been triggered correctly.

image url: https://it-ir-appointment.visametric.com/en path: [Study button] -> ● OK -> ● Iran ->[Get Appointment button]

"Sorry, you have been blocked You are unable to access visametric.com" I can't access the site.

The correct site url is : https://ir-appointment.visametric.com/en

我这里还是不能使用这个网站。

would you mind give me a way of communication so that I can easily stay in touch with you : like Telegram, what's app or anything ?

I only have WeChat.

do you have an email ?

mehran-sfz avatar Sep 06 '23 09:09 mehran-sfz

I have the same issue. In my case, if a normal user clicks on an option, a network call is triggered which updates the options available in following lists. But using select nothing happens.

Can you send me the web address for testing? Every website I've ever used has been triggered correctly.

image url: https://it-ir-appointment.visametric.com/en path: [Study button] -> ● OK -> ● Iran ->[Get Appointment button]

"Sorry, you have been blocked You are unable to access visametric.com" I can't access the site.

The correct site url is : https://ir-appointment.visametric.com/en

我这里还是不能使用这个网站。

would you mind give me a way of communication so that I can easily stay in touch with you : like Telegram, what's app or anything ?

I only have WeChat.

do you have an email ?

[email protected]

g1879 avatar Sep 06 '23 11:09 g1879

最新版应该已经解决这个问题。

g1879 avatar Mar 19 '24 12:03 g1879