<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Handling Cookie page in Synthetic scripting in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Handling-Cookie-page-in-Synthetic-scripting/m-p/720529#M2066</link>
    <description>&lt;P&gt;Team, Any suggestion would be of greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Dec 2023 07:16:18 GMT</pubDate>
    <dc:creator>Mahendra_Shetty</dc:creator>
    <dc:date>2023-12-19T07:16:18Z</dc:date>
    <item>
      <title>Handling Cookie page in Synthetic scripting</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Handling-Cookie-page-in-Synthetic-scripting/m-p/720528#M2065</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;Wanted to know how to handle the cookie page in Synthetic scripting while creating a user journey, what command to use to accept/reject cookies any suggestion would be great help.&lt;/P&gt;&lt;P&gt;Thank you, Mahendra Shetty&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 08:14:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Handling-Cookie-page-in-Synthetic-scripting/m-p/720528#M2065</guid>
      <dc:creator>Mahendra_Shetty</dc:creator>
      <dc:date>2023-12-18T08:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Cookie page in Synthetic scripting</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Handling-Cookie-page-in-Synthetic-scripting/m-p/720529#M2066</link>
      <description>&lt;P&gt;Team, Any suggestion would be of greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 07:16:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Handling-Cookie-page-in-Synthetic-scripting/m-p/720529#M2066</guid>
      <dc:creator>Mahendra_Shetty</dc:creator>
      <dc:date>2023-12-19T07:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Cookie page in Synthetic scripting</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Handling-Cookie-page-in-Synthetic-scripting/m-p/720530#M2067</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/152959"&gt;@Mahendra.Shetty&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Please check out this AppD Docs page:&amp;nbsp;&lt;A href="https://docs.appdynamics.com/appd/22.x/latest/en/end-user-monitoring/browser-monitoring/browser-real-user-monitoring/cookie-consent-management" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/appd/22.x/latest/en/end-user-monitoring/browser-monitoring/browser-real-user-monitoring/cookie-consent-management&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Alternatively, you can contact AppD Support or your AppD Rep&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.appdynamics.com/t5/Knowledge-Base/How-do-I-submit-a-Support-ticket-An-FAQ/m-p/28959#U28959" class="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;How do I submit a Support ticket? An FAQ&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 17:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Handling-Cookie-page-in-Synthetic-scripting/m-p/720530#M2067</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2023-12-19T17:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Cookie page in Synthetic scripting</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Handling-Cookie-page-in-Synthetic-scripting/m-p/720531#M2068</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142051"&gt;@Ryan.Paredez&lt;/A&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;The page you advised to check is telling more information about BT and RUM and not sure about Synthetic monitoring. I 'm facing issue with how to accept the Cookie page while developing the script for user journey, need some information on how to accept/reject the cookie consent that appears very before the application base page.&lt;/P&gt;&lt;P&gt;Or guide me, if my understanding is not right here.&lt;/P&gt;&lt;P&gt;Thank you, Mahendra Shetty&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 11:16:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Handling-Cookie-page-in-Synthetic-scripting/m-p/720531#M2068</guid>
      <dc:creator>Mahendra_Shetty</dc:creator>
      <dc:date>2023-12-22T11:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Cookie page in Synthetic scripting</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Handling-Cookie-page-in-Synthetic-scripting/m-p/720532#M2069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/152959"&gt;@Mahendra.Shetty&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure if this is what you looking for:&lt;/P&gt;
&lt;PRE class="lia-code-sample language-python"&gt;&lt;CODE&gt;from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()

driver.get('https://www.cookiebot.com/en/uk-ie-cookie-compliance/')
waitTime=30

# Accept cookies
try:
    cookie_button = driver.find_element(By.ID, 'CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll')

    print("button located")
    cookie_button.click()

except Exception as e:
    print("cannot find button")
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Take the given website for instance, upon loaded it prompts for cookie acceptance/acknowledgement: "Deny", "Customize" or "Allow all". In this example, I simply accept i.e., "Allow all". To do that, using browser dev tool, we&amp;nbsp; can inspect the ID of that link button.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;Terence&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2023 02:21:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Handling-Cookie-page-in-Synthetic-scripting/m-p/720532#M2069</guid>
      <dc:creator>tezza_chen</dc:creator>
      <dc:date>2023-12-26T02:21:28Z</dc:date>
    </item>
  </channel>
</rss>

