   """
   @spec set_orientation(:landscape | :portrait) :: :ok
   def set_orientation(orientation) do
-    {:ok, driver_info} = Hound.driver_info
-    delegate_to_module driver_info[:driver_type], "Orientation", :set_orientation, [orientation]
+    session_id = Hound.current_session_id
+    make_req(:get, "session/#{session_id}/orientation", %{orientation: orientation})
   end
 end

defmodule Hound.Helpers.Orientation do
  @moduledoc "Provides function related to orientation."

  import Hound.InternalHelpers
  import Hound.RequestUtils

  """
  @spec orientation() :: :landscape | :portrait
  def orientation do
    session_id = Hound.current_session_id
    make_req(:get, "session/#{session_id}/orientation")
  end


