public function search_plugin( $slug )
	{
		$session = $this->getSession();
		$path = $this->get_admin_url() . '/plugins.php?s=' . urlencode( $slug );
		$session->visit( $this->locatePath( $path ) );
		return $session->getPage()->find( 'css', 'tr[data-slug="' . $slug . '"]' );
	}
public function search_plugin( $slug )
	{
		$session = $this->getSession();
		$path = $this->get_admin_url() . '/plugins.php?s=' . urlencode( $slug );
		$session->visit( $this->locatePath( $path ) );
		return $session->getPage()->find( 'css', 'tr[data-slug="' . $slug . '"]' );
	}
public function search_plugin ( $ slug ) { $ session = $ this -> getSession ( ) ; $ path = $ this -> get_admin_url ( ) . '/plugins.php?s=' . urlencode ( $ slug ) ; $ session -> visit ( $ this -> locatePath ( $ path ) ) ; return $ session -> getPage ( ) -> find ( 'css' , 'tr[data-slug="' . $ slug . '"]' ) ; }
Search plugin in the plugins.php

@param string $slug The slug of the plugin.
@return object An object of the dom element of plugin row.
Search plugin in the plugins . php