How to assign a variable to a navigate or Elementaction block ?



  • Hi, I have a problem... I want to give a variable to Elementaction or Navigate. (I don't know if is possible for Navigate ....)

    Basically I want OpenBullet to open a selenium window on a random site. I have + -10 sites to visit at random so I have no idea how to do this. I leave my config in .loli below

    I think my problem is that I don't know how to put my variable (MYRANDOMVALUE) on the Navigate block.

    Thank you in advance

    My configuration :

    SET VAR "LIST" "https://www.google.com/,https://www.google.com/,https://www.google.com/,https://www.google.com/"
    
    UTILITY Variable "LIST" Split "," -> VAR "NEWLIST" 
    
    UTILITY List "NEWLIST" Random -> VAR "MYRANDOMVALUE" 
    
    BROWSERACTION Open 
    
    NAVIGATE "MYRANDOMVALUE" 
    
    BROWSERACTION Close 
    

  • Admin

    NAVIGATE "<MYRANDOMVALUE>"



  • Thank you so much, is work !


Log in to reply