Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/31/2022 in all areas

  1. My crystal ball says that the error is somewhere in your code. 😏
    2 points
  2. @iSanGlad you got the initial kinks worked out. A few suggestions -- As previously mentioned, you should update WinHTTP to avoid some know issues that can occur with v1.6.4.1 Add some error checking to your custom functions. For example, if _WD_FindElement returns an error then it makes no sense to continue with call to _WD_ElementAction
    1 point
  3. Please update your WinHTTP source using the link above. Your attempt to create a session is failing. It appears that you are declaring $sCapabilities local to SetupChrome, so the value assigned is lost once that function exits.
    1 point
  4. Hi @iSan, yes you can skip this setting (keep it to False), otherwise you will not see what your browser automation doings will do (or not do) 😅 . Please have a look at the README file of the project to get more information and to get more into the WebDriver approach. I'm sure this will help you a lot. Also get in touch with the Tutorial/Wiki page of the project. There are several answered question which will help you 😀 . It would also be helpful when you talk about what are you trying to do? I noticed you want to clear and fill a input. Are you able to navigate to the page and are you able to use locators/selectors like XPath or CSS Selector etc.? If not, I recommend you to learn more about that before. Please provide that much information as you can. Then it's probably that we can support you on your way of browser automation 🤝 . Best regardsSven________________Stay innovative!
    1 point
  5. Not explicitly, but there are workarounds. Example. ;Declaring Variables Global $a = 1, $b = 2, $c = $a + $b ConsoleWrite($c & @CRLF) ;Using Operators with Functions, must be saved to a variable. (For demonstration purposes only.) $Test = MsgBox(0, "Test 1", "This is a test.") + MsgBox(0, "Test 2", "This is a test.") - MsgBox(0, "Test 3", "This is a test.") ;Using a Function with Operators. (For demonstration purposes only.) _MultilineExec(MsgBox(0, "Test 4", "This is a test.") + MsgBox(0, "Test 5", "This is a test.") - MsgBox(0, "Test 6", "This is a test.")) Func _MultilineExec($sParameter) Return $sParameter EndFunc Adam
    1 point
×
×
  • Create New...