Select a drowdonw value

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
techtrad11800
Posts: 1
Joined: Mon Nov 21, 2022 4:09 pm

Select a drowdonw value

Post by techtrad11800 » Mon Nov 21, 2022 4:27 pm

imacro 10.1.0.1485 / windows 10 / CHrome 107.0.5304.107


Hello,

i'm trying to select a value in a drowdown list but nothing change (sorry for my bad english ;)

I've read other post but it's beyond my strength

Here the code

Image


I'm beginner and try several combinaison like TAG POS=1 TYPE=select-options ATTR=part:dropdown-option2&value:3 but :(

If someone can give me a track to follow

Thanks
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Select a drowdonw value

Post by chivracq » Tue Nov 22, 2022 4:44 am

techtrad11800 wrote:
Mon Nov 21, 2022 4:27 pm

Code: Select all

imacro 10.1.0.1485 / windows 10 / CHrome 107.0.5304.107
Hello,

i'm trying to select a value in a drowdown list but nothing change (sorry for my bad english ;)

I've read other post but it's beyond my strength

Here the code

Image


I'm beginner and try several combinaison like TAG POS=1 TYPE=select-options ATTR=part:dropdown-option2&value:3 but :(

If someone can give me a track to follow

Thanks

FCI mentioned, very good, but hum, v10.1.0.1485 is a Version for FF, not compatible with CR107, => can you check again and clarify...? :?
+ 'Free'/'PE'/'Trial' missing from your iMacros Version...?

Like explained in the Forum Rules, could you upload your Screenshot directly to the Forum...?

And hum, what gets recorded...?, can you post the URL of the Page...?
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
techtrad
Posts: 2
Joined: Fri Jun 05, 2015 8:09 am

Re: Select a drowdonw value

Post by techtrad » Tue Nov 29, 2022 10:29 am

Hello, sorry.

Exact versions iMacros PE 10.1.1 - CHrome 107.0.5304.107

Url is a seller amazon restricted page, can't post.

Would like to make a select on value "3 derniers jours"

Here the code

Code: Select all

<kat-dropdown class="daily-time-picker-kat-dropdown-normal" label="Date de l'événement" value="14" options="[
{"name";:"aujourd'hui (jusqu'à présent)","value":"0"},
{"name":"dernier jour (hier)","value":"1"},
{"name":"3 derniers jours","value":"3"},
{"name":"7 derniers jours","value":"7"},
{"name":"14 derniers jours","value":"14"},
{"name":"30 derniers jours","value":"30"},
{"name":"Dates exactes","value":"-1"}]" size="large" locale="en-US" style="float: none;">
<span slot="private-light-dom" style="max-width: 0px; max-height: 0px; overflow: hidden;"></span></kat-dropdown>

<div class="select-options" part="dropdown-options" style="">
<div class="option-inner-container"> <slot><!----><!---->

<kat-option tabindex="-1" part="dropdown-option0" value="0">
<div class="standard-option-content">
<div class="standard-option-name"><!---->aujourd'hui (jusqu'à présent)<!----></div>
<div class="standard-option-icon"><!----><!----></div>
</div></kat-option> <!---->

<kat-option tabindex="-1" part="dropdown-option1" value="1">
<div class="standard-option-content">
<div class="standard-option-name"><!---->dernier jour (hier)<!----></div>
<div class="standard-option-icon"><!----><!----></div>
</div></kat-option> <!---->

<kat-option tabindex="-1" part="dropdown-option2" value="3">
<div class="standard-option-content">
<div class="standard-option-name"><!---->3 derniers jours<!----></div>
<div class="standard-option-icon"><!----><!----></div>
</div></kat-option> <!---->

<kat-option tabindex="-1" part="dropdown-option3" value="7" selected="">
<div class="standard-option-content">
<div class="standard-option-name"><!---->7 derniers jours<!----></div>
<div class="standard-option-icon"><!----><!----></div>
</div></kat-option> <!---->

<kat-option tabindex="-1" part="dropdown-option4" value="14">
<div class="standard-option-content">
<div class="standard-option-name"><!---->14 derniers jours<!----></div>
<div class="standard-option-icon"><!----><!----></div>
</div></kat-option> <!----> 

<kat-option tabindex="-1" part="dropdown-option5" value="30">
<div class="standard-option-content">
<div class="standard-option-name"><!---->30 derniers jours<!----></div>
<div class="standard-option-icon"><!----><!----></div>
</div></kat-option> <!----> 

<kat-option tabindex="-1" part="dropdown-option6" value="-1">
	<div class="standard-option-content">
		 <div class="standard-option-name"><!---->Dates exactes<!----></div>
		 <div class="standard-option-icon"><!----><!----></div>
	</div>
</kat-option> <!----><!----></slot>  </div> </div>
I have seen other examples of select but they are with an ID selector, this dropdown is not like other :(
Post Reply