<?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 Web applications for PSM. How to copy dynamic text from a webpage. How to show a Message box with the copied text inside it. How to copy a text inside the user PC Clipboard. Is there a way to not show the Webpage at all. in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-applications-for-psm-how-to-copy-dynamic-text-from-a-webpage/m-p/1419594#M87628</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the Idea here to create a Connection components that login automatically, entries some data to generate a token then copy said token automatically into a Clipboard (token should also be displayed inside a box). No need to show the Chrome webpage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets say we have this webpage &lt;A alt="https://practicetestautomation.com/practice-test-login/" href="https://practicetestautomation.com/practice-test-login/" target="_blank"&gt;https://practicetestautomation.com/practice-test-login/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Vy000012yYbbIAE.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/94450iC32CD6C99B91582C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Vy000012yYbbIAE.png" alt="Field_Content_versions_oct20__068Vy000012yYbbIAE.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I log in with&lt;/P&gt;&lt;P&gt;WebFormFields:&lt;/P&gt;&lt;P&gt;username&amp;gt;{Username}(SearchBy=id) &lt;/P&gt;&lt;P&gt;password&amp;gt;{Password}(SearchBy=id) &lt;/P&gt;&lt;P&gt;submit&amp;gt;(Button)(SearchBy=id) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after login I'm here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Vy000012zCM4IAM.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/94452i9F736E7F0EBFE0B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Vy000012zCM4IAM.png" alt="Field_Content_versions_oct20__068Vy000012zCM4IAM.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to copy "&lt;B&gt;Logged In Successfully"&lt;/B&gt; (or any dynamic text here) inside a box message&lt;/P&gt;&lt;P&gt; ( so in this case I want to copy the text inside&lt;B&gt; &lt;/B&gt;&amp;lt;h1 class="post-title"&amp;gt;Logged In Successfully&amp;lt;/h1&amp;gt; or //*[@id="loop-container"]/div/article/div[1]/h1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;is there a copy command or a method?&lt;/LI&gt;&lt;LI&gt;if we can copy, is there a way to display it inside a box?&lt;/LI&gt;&lt;LI&gt;Can the text copied be automatically copied inside the user PC Clipboard?&lt;/LI&gt;&lt;LI&gt;Can we do all this process without showing the Chrome webpage.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
    <pubDate>Tue, 09 Dec 2025 22:17:25 GMT</pubDate>
    <dc:creator>A.ElSheredi582594</dc:creator>
    <dc:date>2025-12-09T22:17:25Z</dc:date>
    <item>
      <title>Web applications for PSM. How to copy dynamic text from a webpage. How to show a Message box with the copied text inside it. How to copy a text inside the user PC Clipboard. Is there a way to not show the Webpage at all.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-applications-for-psm-how-to-copy-dynamic-text-from-a-webpage/m-p/1419594#M87628</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the Idea here to create a Connection components that login automatically, entries some data to generate a token then copy said token automatically into a Clipboard (token should also be displayed inside a box). No need to show the Chrome webpage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets say we have this webpage &lt;A alt="https://practicetestautomation.com/practice-test-login/" href="https://practicetestautomation.com/practice-test-login/" target="_blank"&gt;https://practicetestautomation.com/practice-test-login/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Vy000012yYbbIAE.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/94450iC32CD6C99B91582C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Vy000012yYbbIAE.png" alt="Field_Content_versions_oct20__068Vy000012yYbbIAE.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I log in with&lt;/P&gt;&lt;P&gt;WebFormFields:&lt;/P&gt;&lt;P&gt;username&amp;gt;{Username}(SearchBy=id) &lt;/P&gt;&lt;P&gt;password&amp;gt;{Password}(SearchBy=id) &lt;/P&gt;&lt;P&gt;submit&amp;gt;(Button)(SearchBy=id) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after login I'm here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Vy000012zCM4IAM.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/94452i9F736E7F0EBFE0B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Vy000012zCM4IAM.png" alt="Field_Content_versions_oct20__068Vy000012zCM4IAM.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to copy "&lt;B&gt;Logged In Successfully"&lt;/B&gt; (or any dynamic text here) inside a box message&lt;/P&gt;&lt;P&gt; ( so in this case I want to copy the text inside&lt;B&gt; &lt;/B&gt;&amp;lt;h1 class="post-title"&amp;gt;Logged In Successfully&amp;lt;/h1&amp;gt; or //*[@id="loop-container"]/div/article/div[1]/h1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;is there a copy command or a method?&lt;/LI&gt;&lt;LI&gt;if we can copy, is there a way to display it inside a box?&lt;/LI&gt;&lt;LI&gt;Can the text copied be automatically copied inside the user PC Clipboard?&lt;/LI&gt;&lt;LI&gt;Can we do all this process without showing the Chrome webpage.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 22:17:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-applications-for-psm-how-to-copy-dynamic-text-from-a-webpage/m-p/1419594#M87628</guid>
      <dc:creator>A.ElSheredi582594</dc:creator>
      <dc:date>2025-12-09T22:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Web applications for PSM. How to copy dynamic text from a webpage. How to show a Message box with the copied text inside it. How to copy a text inside the user PC Clipboard. Is there a way to not show the Webpage at all.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-applications-for-psm-how-to-copy-dynamic-text-from-a-webpage/m-p/1419595#M87629</link>
      <description>&lt;P&gt;Short answer: &lt;B&gt;No — .INI files &lt;I&gt;cannot&lt;/I&gt; perform extract web text or copy to clipboard.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;However, You may try .ini file and Autoit to perform your required actions. &lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Sample code of Autoit as per your requirements:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;CODE&gt;#include "Selenium.au3"
#include &amp;lt;MsgBoxConstants.au3&amp;gt;
#include &amp;lt;Clipboard.au3&amp;gt;
&amp;nbsp;
; ================================
; READ FROM INI
; ================================
Local $url       = IniRead("config.ini", "Login", "url", "")
Local $username  = IniRead("config.ini", "Login", "username", "")
Local $password  = IniRead("config.ini", "Login", "password", "")
&amp;nbsp;
Local $selUser   = IniRead("config.ini", "Selectors", "username", "")
Local $selPass   = IniRead("config.ini", "Selectors", "password", "")
Local $selSubmit = IniRead("config.ini", "Selectors", "submit", "")
Local $selResult = IniRead("config.ini", "Selectors", "result", "")
&amp;nbsp;
; ================================
; START CHROME HEADLESS
; ================================
Local $ChromeOptions = _Selenium_CreateOptions()
_Selenium_OptionsAddArgument($ChromeOptions, "--headless=new")
_Selenium_OptionsAddArgument($ChromeOptions, "--disable-gpu")
&amp;nbsp;
Local $driver = _Selenium_Start("chrome", $ChromeOptions)
&amp;nbsp;
; ================================
; OPEN PAGE
; ================================
_Selenium_Navigate($driver, $url)
Sleep(1000)
&amp;nbsp;
; ================================
; LOGIN
; ================================
Local $eUser = _Selenium_FindElement($driver, $selUser)
_Selenium_ElementSendKeys($eUser, $username)
&amp;nbsp;
Local $ePass = _Selenium_FindElement($driver, $selPass)
_Selenium_ElementSendKeys($ePass, $password)
&amp;nbsp;
Local $eSubmit = _Selenium_FindElement($driver, $selSubmit)
_Selenium_ElementClick($eSubmit)
&amp;nbsp;
Sleep(2000)
&amp;nbsp;
; ================================
; EXTRACT RESULT TEXT
; ================================
Local $eResult = _Selenium_FindElement($driver, $selResult)
Local $resultText = _Selenium_ElementGetText($eResult)
&amp;nbsp;
; ================================
; COPY TO CLIPBOARD
; ================================
_Clipboard_SetData($resultText)
&amp;nbsp;
; ================================
; SHOW IN MESSAGE BOX
; ================================
MsgBox($MB_ICONINFORMATION, "Result Copied", "Extracted Text:" &amp;amp; @CRLF &amp;amp; @CRLF &amp;amp; $resultText)
&amp;nbsp;
; QUIT DRIVER
_Selenium_Quit($driver)&lt;/CODE&gt;&lt;P&gt;&lt;B&gt;﻿&lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 15:23:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-applications-for-psm-how-to-copy-dynamic-text-from-a-webpage/m-p/1419595#M87629</guid>
      <dc:creator>Sanzu</dc:creator>
      <dc:date>2025-12-10T15:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Web applications for PSM. How to copy dynamic text from a webpage. How to show a Message box with the copied text inside it. How to copy a text inside the user PC Clipboard. Is there a way to not show the Webpage at all.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-applications-for-psm-how-to-copy-dynamic-text-from-a-webpage/m-p/1419596#M87630</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@sanjay sah​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you appreciated! I will try it&lt;/P&gt;</description>
      <pubDate>Sun, 14 Dec 2025 02:45:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-applications-for-psm-how-to-copy-dynamic-text-from-a-webpage/m-p/1419596#M87630</guid>
      <dc:creator>A.ElSheredi582594</dc:creator>
      <dc:date>2025-12-14T02:45:08Z</dc:date>
    </item>
  </channel>
</rss>

