Jump to content

I've taken my first steps with Webdriver and I am happy but some perplexities are challenging me about Capabilities - (Moved)


Go to solution Solved by mLipok,

Recommended Posts

Posted

Hello, 

I am searching for a guide about capabilities for Chrome, I mean I've read https://chromedriver.chromium.org/capabilities and https://www.autoitscript.com/wiki/WebDriver_Capabilities and others information but I cannot find some kind of guide about  how some commands work "_WD_CapabilitiesAdd" for example or what the difference between alwaysMatch and firstMatch, is there an helper guide a .chm maybe?

Thanks

  • Developers
Posted

Moved to the appropriate AutoIt General Help and Support forum, as the AutoIt Example Scripts forum very clearly states:

  Quote

Share your cool AutoIt scripts, UDFs and applications with others.


Do not post general support questions here, instead use the AutoIt Help and Support forums.

Expand  

Moderation Team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

I go to bed. Tomorrow I will have difficult day.

If nobody answer tomorrow, bump after 20h from now.

Then I try to answer.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Thanks Danp2, this of course expleins the difference between first and always but I would like to know about all the other options, for example, where I could find the helper of "_WD_CapabilitiesGet()" or what about "desiredcapabilities" How this works? I cannot find a helper guide.

However thank you very much for the discussion you highlighted for me.

Posted
  On 4/4/2022 at 7:07 PM, MarcoMonte said:

desiredcapabilities

Expand  

This are legacy features.

Just use capabilities.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 4/4/2022 at 7:07 PM, MarcoMonte said:

where I could find the helper of "_WD_CapabilitiesGet()

Expand  

I'm not sure what you mean.

This function just get the JSON String from the object.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 4/4/2022 at 7:17 PM, mLipok said:

This are legacy features.

Just use capabilities.

Expand  

https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities#legacy_capabilities

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 4/4/2022 at 7:18 PM, mLipok said:

I'm not sure what you mean.

This function just get the JSON String from the object.

Expand  

Here you can see my proposed change to _WD_CapabilitiesGet() function header

https://github.com/Danp2/au3WebDriver/pull/263/commits/47554bef493d3219d86952d163c92607e2327fac

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Solution
Posted

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...