Can you help on creating chrome options in RIDE

Hello Team,
Before running the script just i want to set the chorme flag setting .

chrome://flags/#same-site-by-default-cookies -disable

Can you help on this how to set with the steps using the RIDE.

Hi,

This is just a note that your question has nothing to do with RIDE. It does not matter what IDE or Text Editor you use to write Robot Framework tests.

For your question, I tried to see a solution by reading this but they only mention using flags. Usually we use options and they are similar as passed from command line.

Here is an example how I use experimental options, maybe you can try:

*** Settings ***
Documentation     I have a challenge
...               I’m running Chrome version 67.0.3396.87. I’m running the below code; however,
...               the browser does not open in the desired language (fr-ca or ja).
...               https://robotframework.slack.com/messages/@U6SDCR92S
...
...               Reference page:
...               https://www.w3.org/International/questions/qa-lang-priorities
...
...               Firefox:
...               "intl": "accept_languages": "pt-PT,pt,en,en-us"
...               Accept-Language: pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3
Suite Teardown    Close All Browsers
Library           SeleniumLibrary    plugins=SeleniumTestability;True;30 Seconds;True

*** Test Cases ***
Set Chrome to fr-ca
    Switch language For Chrome    https://www.wikipedia.org/    fr-ca
    Sleep    3 seconds
    Capture Page Screenshot
    [Teardown]    Close Browser

Set Chrome to ja
    Switch language For Chrome    https://www.wikipedia.org/    ja
    Sleep    3 seconds
    Capture Page Screenshot
    [Teardown]    Close Browser

Set Chrome to pt-pt
    Switch language For Chrome    https://www.wikipedia.org/    pt-PT
    Sleep    3 seconds
    Capture Page Screenshot
    [Teardown]    Close Browser

*** Keywords ***
Switch language For Chrome
    [Arguments]    ${url}    ${locale}
    [Documentation]    Starts a Chrome Browser with specified locale
    ${options}=    Evaluate    sys.modules['selenium.webdriver'].ChromeOptions()    sys
    Call Method    ${options}    add_argument    --lang\=${locale}
    Call Method    ${options}    add_argument    --disable-dev-shm-usage    # See https://stackoverflow.com/questions/50642308/org-openqa-selenium-webdriverexception-unknown-error-devtoolsactiveport-file-d
    Comment    Create webDriver    Chrome    chrome_options=${options}
    &{prefs}=    Create Dictionary    intl.accept_languages=${locale},en,en-us
    Call Method    ${options}    add_experimental_option    prefs    ${prefs}
    Create Webdriver    Chrome    chrome_options=${options}
    GoTo    ${url}
    Wait For Document Ready

i have tried the above but unable to under stand .
step to enable :slight_smile:

  1. go to chrome setting
  2. navigate to flags.
  3. the below option i need to change

so can you help me to create option so that i can use the same

i am trying to to :slight_smile:
open browser “URL” chrome option = [‘same-site-by-default-cookies@1’,‘cookies-without-same-site-must-be-secure@1’]

but not working

Hi, Did you got solution for that?