{"id":6701,"date":"2023-05-09T05:02:07","date_gmt":"2023-05-09T05:02:07","guid":{"rendered":"https:\/\/studysection.com\/blog\/?p=6701"},"modified":"2023-10-03T09:42:08","modified_gmt":"2023-10-03T09:42:08","slug":"run-selenium-with-php-on-local","status":"publish","type":"post","link":"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/","title":{"rendered":"Run Selenium with PHP on local"},"content":{"rendered":"<ol>\n<li>Create a folder for the php project and install the <strong>php-webdriver<\/strong> and <strong>php-unit<\/strong> library using composer as given in the following steps:\n<ul>\n<li>Create a composer.json file with the following code:<br \/>\n<code>{<br \/>\n\"require\": {<br \/>\n\"php\":\"&gt;=7.1\",<br \/>\n\"phpunit\/phpunit\":\"^9\",<br \/>\n\"phpunit\/phpunit-selenium\": \"*\",<br \/>\n\"php-webdriver\/webdriver\":\"1.8.0\"<br \/>\n},<br \/>\n\"config\": {<br \/>\n\"platform\": {<br \/>\n\"php\": \"7.3\"<br \/>\n}<br \/>\n}<br \/>\n}<\/code><br \/>\n<strong>Note:<\/strong> You can change the package versions as per your requirement.<\/li>\n<li>Then open the command prompt and navigate to the project folder and run the following command:<br \/>\n<em>composer require<\/em> (preferred) or<br \/>\n<em>composer update<\/em><\/p>\n<ol>\n<li>Type the above command and press enter.<\/li>\n<li>It will prompt for \u201cSearch for a package:\u201d &gt;&gt; press enter<\/li>\n<li>It will ask to re-run the command with \u2013dev &gt;&gt; type no and press enter<\/li>\n<\/ol>\n<p>Now it will install all the required packages and dependencies<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/Selenium2.png\" alt=\"Selenium with php\" \/><\/li>\n<li>It will create the <strong>vendor <\/strong>folder along with the <strong>composer.lock<\/strong> file, in the project folder<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/vendor.png\" alt=\"vendor\" \/><\/li>\n<\/ul>\n<\/li>\n<li><strong>Download Selenium Server:<\/strong>\n<ul>\n<li>You will need to download the latest selenium web driver from <a href=\"https:\/\/www.selenium.dev\/downloads\/\">Downloads|Selenium<\/a>. By following this link, you will need to scroll down a bit and click the link as shown below:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/page1.png\" alt=\"Download Selenium Server\" width=\"762\" height=\"281\" \/><\/li>\n<li>After clicking the above link, a model\/popup will be opened. You will again need to scroll down a little bit to get the required stable version. I will prefer to download the jar file only as shown below:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/page2.png\" alt=\"download the jar file\" width=\"771\" height=\"327\" \/><\/li>\n<li>Now place this jar file in a separate folder in the project folder as I placed it in the folder <strong>\u201cselenium-drivers\u201d<\/strong> in my project folder <strong>\u201cTesting\u201d<\/strong><br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/page3.png\" alt=\"page3\" \/><\/li>\n<\/ul>\n<\/li>\n<li><strong>Download the Browser web driver<\/strong><\/li>\n<li>You can download the browser driver from the link <a href=\"https:\/\/www.selenium.dev\/documentation\/webdriver\/getting_started\/install_drivers\/\">Selenium Browser driver<\/a> below:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/page4.png\" alt=\"Selenium Browser driver\" width=\"775\" height=\"362\" \/><\/p>\n<ul>\n<li>You will need to choose the driver version as per the browser version installed on your computer, to make it run properly.<\/li>\n<li>Now extract the downloaded zip file to get the browser driver exe file and place this executable file in the same folder where you placed the selenium web driver, like below:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/page5.png\" alt=\"selenium web driver\" width=\"697\" height=\"141\" \/><br \/>\n<strong><em>Note:<\/em><\/strong> I will explain here the testing for Chrome browser only but you can do the same for other browsers as well like Firefox, Microsoft Edge, etc. There will be little few changes in the code accordingly.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Enable Curl with PHP on Windows:<\/strong> To enable CURL on windows,\n<ul>\n<li>open the <strong>php.ini<\/strong> file from the location where php is installed. For example in our case, it is present under the <strong>\u201cC:\\Program Files\\php-8.2.2-Win32-vs16-x64\u201d<\/strong> folder as shown below:<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/page6.png\" alt=\"Enable Curl with PHP on Windows\" width=\"620\" height=\"498\" \/>So right-click on the file and open it with any editor of your choice. You can use simple notepad++ for editing.<br \/>\nIf you have xampp installed on your machine, you can also open it from there by clicking on the <strong>Config <\/strong>button and then selecting the <strong>PHP(php.ini)<\/strong> option from the list as shown below:<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/page7.png\" alt=\"xampp\" width=\"730\" height=\"437\" \/><\/p>\n<p>However, XAMPP is not required for selenium testing for any web app.<\/li>\n<li>Now, in the editor, enable CURL by uncommenting the line which is specifying the curl extension as below:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/page8.png\" alt=\"curl extension\" width=\"447\" height=\"135\" \/><\/li>\n<li>Along with the CURL, we will also need to enable other extensions which will be used for selenium testing, as below:<br \/>\n<em style=\"color: blue;\">extension=bz2<br \/>\nextension=fileinfo<br \/>\nextension=gd2<br \/>\nextension=mbstring<br \/>\nextension=openssl<br \/>\nextension=pdo_mysql<br \/>\nextension=pgsql<br \/>\nextension=shmop<br \/>\nextension=sqlite3<br \/>\nextension=tidy<br \/>\nextension=xmlrpc<br \/>\nextension=xsl<br \/>\n<\/em><\/li>\n<\/ul>\n<\/li>\n<li>Now create a separate folder to contain the test classes like we will create the <strong>selenium-tests<\/strong> folder and will create a new file <strong>\u201cGoogleSearchChromeTest.php\u201d<\/strong> with the following piece of code:<br \/>\n<code>&lt;?php<br \/>\nrequire 'vendor\/autoload.php';<br \/>\nuse PHPUnit\\Framework\\TestCase;<br \/>\nuse Facebook\\WebDriver\\Chrome\\ChromeOptions;<br \/>\nuse Facebook\\WebDriver\\Chrome\\ChromeDriver;<br \/>\nuse Facebook\\WebDriver\\Firefox\\FirefoxDriver;<br \/>\nuse Facebook\\WebDriver\\Firefox\\FirefoxProfile;<br \/>\nuse Facebook\\WebDriver\\Remote\\DesiredCapabilities;<br \/>\nuse Facebook\\WebDriver\\Remote\\RemoteWebDriver;<br \/>\nuse Facebook\\WebDriver\\WebDriverBy;<br \/>\nclass GoogleSearchChromeTest extends TestCase<br \/>\n{<br \/>\nprotected $webDriver;<br \/>\npublic function build_chrome_capabilities(){<br \/>\n$capabilities = DesiredCapabilities::chrome();<br \/>\nreturn $capabilities;<br \/>\n}<br \/>\npublic function setUp(): void<br \/>\n{<br \/>\n$capabilities = $this-&gt;build_chrome_capabilities();<br \/>\n\/* Download the Selenium Server 3.141.59 from<br \/>\nhttps:\/\/selenium-release.storage.googleapis.com\/3.141\/selenium-server-standalone-3.141.59.jar<br \/>\n*\/<br \/>\n$this-&gt;webDriver = RemoteWebDriver::create('http:\/\/localhost:4444', $capabilities);<br \/>\n}<br \/>\npublic function tearDown(): void<br \/>\n{<br \/>\n$this-&gt;webDriver-&gt;quit();<br \/>\n}<br \/>\n\/*<br \/>\n* @test<br \/>\n*\/<br \/>\npublic function test_searchTextOnGoogle()<br \/>\n{<br \/>\n$this-&gt;webDriver-&gt;get(\"https:\/\/www.google.com\/ncr\");<br \/>\n$this-&gt;webDriver-&gt;manage()-&gt;window()-&gt;maximize();<br \/>\nsleep(5);<br \/>\n$element = $this-&gt;webDriver-&gt;findElement(WebDriverBy::name(\"q\"));<br \/>\nif($element) {<br \/>\n$element-&gt;sendKeys(\"Selenium Test\");<br \/>\n$element-&gt;submit();<br \/>\n}<br \/>\nprint $this-&gt;webDriver-&gt;getTitle();<br \/>\n$this-&gt;assertEquals('Selenium Test - Google Search', $this-&gt;webDriver-&gt;getTitle());<br \/>\n}<br \/>\n}<br \/>\n?&gt;<\/code><\/li>\n<li>Following is the description of the test scenario that we are going to test using this file:<br \/>\n<em>Test Scenario \u2013 (Browser \u2013 Chrome, Platform \u2013 Windows 10)<\/em><em style=\"color: blue;\">Navigate to the URL <a href=\"https:\/\/www.google.com\/ncr\">https:\/\/www.google.com\/ncr<\/a><br \/>\nLocate the Search text box<br \/>\nEnter \u2018LambdaTest\u2019 in the search-box<br \/>\nClick on the search button and assert if the title does not match the expected window title<\/em><\/li>\n<li>Now open the command prompt, you can use Visual Studio Code editor for the same, and type the following command and hit enter to run the chrome driver on port 4444:<br \/>\n<code>selenium-drivers\\chromedriver.exe --port=4444<\/code><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/page9.png\" alt=\"open the command prompt\" width=\"772\" height=\"185\" \/><br \/>\n<strong>Note:<\/strong> <em>selenium-drivers\\chromedriver.exe<\/em> is the path of the chrome driver.<\/li>\n<li>Now, open another command prompt window and enter the following command to run the selenium tests present in the <strong>GoogleSearchChromeTest.php <\/strong>file:<br \/>\n<code>vendor\\bin\\phpunit --debug selenium-tests\\GoogleSearchChromeTest.php<\/code><\/li>\n<li>You will see the chrome browser open and enter the mentioned keyword to search as expected:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/page10.png\" alt=\"Selenium test\" width=\"684\" height=\"447\" \/><\/li>\n<li>You can also verify the result in the output in the command prompt as well:<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/page11.png\" alt=\"page11\" \/><\/li>\n<\/ol>\n<p><small><em>If you have skills in PHP programming and you want to enhance your career in this field, a PHP certification from StudySection can help you reach your desired goals. Both beginner level and expert level <a href=\"https:\/\/www.studysection.com\/php-web-developer-foundation-diploma\">PHP Certification Exams<\/a> are offered by StudySection along with other programming certification exams. <\/em><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create a folder for the php project and install the php-webdriver and php-unit library using composer as given in the<\/p>\n","protected":false},"author":1,"featured_media":6702,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[200,124],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Run Selenium with PHP on local - StudySection Blog<\/title>\n<meta name=\"description\" content=\"Run Selenium with PHP on local. You will need to download the latest selenium web driver from Downloads|Selenium.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Run Selenium with PHP on local - StudySection Blog\" \/>\n<meta property=\"og:description\" content=\"Run Selenium with PHP on local. You will need to download the latest selenium web driver from Downloads|Selenium.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Posts on famous people, innovations and educational topics\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/studysection\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-09T05:02:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-03T09:42:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/Selenium1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin-studysection-blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@studysection\" \/>\n<meta name=\"twitter:site\" content=\"@studysection\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin-studysection-blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/\"},\"author\":{\"name\":\"admin-studysection-blog\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\"},\"headline\":\"Run Selenium with PHP on local\",\"datePublished\":\"2023-05-09T05:02:07+00:00\",\"dateModified\":\"2023-10-03T09:42:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/\"},\"wordCount\":747,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"keywords\":[\"php\",\"selenium\"],\"articleSection\":[\"Learn and Grow\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/\",\"url\":\"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/\",\"name\":\"Run Selenium with PHP on local - StudySection Blog\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/#website\"},\"datePublished\":\"2023-05-09T05:02:07+00:00\",\"dateModified\":\"2023-10-03T09:42:08+00:00\",\"description\":\"Run Selenium with PHP on local. You will need to download the latest selenium web driver from Downloads|Selenium.\",\"breadcrumb\":{\"@id\":\"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/studysection.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Run Selenium with PHP on local\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/studysection.com\/blog\/#website\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"name\":\"Blog Posts on famous people, innovations and educational topics\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/studysection.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/studysection.com\/blog\/#organization\",\"name\":\"StudySection\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"contentUrl\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"width\":920,\"height\":440,\"caption\":\"StudySection\"},\"image\":{\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/studysection\",\"https:\/\/twitter.com\/studysection\",\"https:\/\/www.instagram.com\/study.section\/\",\"https:\/\/www.linkedin.com\/company\/studysection\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\",\"name\":\"admin-studysection-blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"caption\":\"admin-studysection-blog\"},\"url\":\"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Run Selenium with PHP on local - StudySection Blog","description":"Run Selenium with PHP on local. You will need to download the latest selenium web driver from Downloads|Selenium.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/","og_locale":"en_US","og_type":"article","og_title":"Run Selenium with PHP on local - StudySection Blog","og_description":"Run Selenium with PHP on local. You will need to download the latest selenium web driver from Downloads|Selenium.","og_url":"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/","og_site_name":"Blog Posts on famous people, innovations and educational topics","article_publisher":"https:\/\/www.facebook.com\/studysection","article_published_time":"2023-05-09T05:02:07+00:00","article_modified_time":"2023-10-03T09:42:08+00:00","og_image":[{"width":300,"height":200,"url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2023\/05\/Selenium1.png","type":"image\/png"}],"author":"admin-studysection-blog","twitter_card":"summary_large_image","twitter_creator":"@studysection","twitter_site":"@studysection","twitter_misc":{"Written by":"admin-studysection-blog","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/#article","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/"},"author":{"name":"admin-studysection-blog","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402"},"headline":"Run Selenium with PHP on local","datePublished":"2023-05-09T05:02:07+00:00","dateModified":"2023-10-03T09:42:08+00:00","mainEntityOfPage":{"@id":"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/"},"wordCount":747,"commentCount":0,"publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"keywords":["php","selenium"],"articleSection":["Learn and Grow"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/","url":"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/","name":"Run Selenium with PHP on local - StudySection Blog","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/#website"},"datePublished":"2023-05-09T05:02:07+00:00","dateModified":"2023-10-03T09:42:08+00:00","description":"Run Selenium with PHP on local. You will need to download the latest selenium web driver from Downloads|Selenium.","breadcrumb":{"@id":"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/studysection.com\/blog\/run-selenium-with-php-on-local\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/studysection.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Run Selenium with PHP on local"}]},{"@type":"WebSite","@id":"https:\/\/studysection.com\/blog\/#website","url":"https:\/\/studysection.com\/blog\/","name":"Blog Posts on famous people, innovations and educational topics","description":"","publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/studysection.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/studysection.com\/blog\/#organization","name":"StudySection","url":"https:\/\/studysection.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","contentUrl":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","width":920,"height":440,"caption":"StudySection"},"image":{"@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/studysection","https:\/\/twitter.com\/studysection","https:\/\/www.instagram.com\/study.section\/","https:\/\/www.linkedin.com\/company\/studysection"]},{"@type":"Person","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402","name":"admin-studysection-blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","caption":"admin-studysection-blog"},"url":"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/"}]}},"views":737,"_links":{"self":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/6701"}],"collection":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/comments?post=6701"}],"version-history":[{"count":6,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/6701\/revisions"}],"predecessor-version":[{"id":7062,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/6701\/revisions\/7062"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media\/6702"}],"wp:attachment":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media?parent=6701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/categories?post=6701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/tags?post=6701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}